Versions in this module Expand all Collapse all v0 v0.196.2 Sep 10, 2024 Changes in this version + const CloudPlatformReadOnlyScope + const CloudPlatformScope + const ReplicapoolReadonlyScope + const ReplicapoolScope + type InstanceUpdate struct + Error *InstanceUpdateError + ForceSendFields []string + Instance string + NullFields []string + Status string + func (s *InstanceUpdate) MarshalJSON() ([]byte, error) + type InstanceUpdateError struct + Errors []*InstanceUpdateErrorErrors + ForceSendFields []string + NullFields []string + func (s *InstanceUpdateError) MarshalJSON() ([]byte, error) + type InstanceUpdateErrorErrors struct + Code string + ForceSendFields []string + Location string + Message string + NullFields []string + func (s *InstanceUpdateErrorErrors) MarshalJSON() ([]byte, error) + type InstanceUpdateList struct + ForceSendFields []string + Items []*InstanceUpdate + Kind string + NextPageToken string + NullFields []string + SelfLink string + func (s *InstanceUpdateList) MarshalJSON() ([]byte, error) + type Operation struct + ClientOperationId string + CreationTimestamp string + EndTime string + Error *OperationError + ForceSendFields []string + HttpErrorMessage string + HttpErrorStatusCode int64 + Id uint64 + InsertTime string + Kind string + Name string + NullFields []string + OperationType string + Progress int64 + Region string + SelfLink string + StartTime string + Status string + StatusMessage string + TargetId uint64 + TargetLink string + User string + Warnings []*OperationWarnings + Zone string + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationError struct + Errors []*OperationErrorErrors + ForceSendFields []string + NullFields []string + func (s *OperationError) MarshalJSON() ([]byte, error) + type OperationErrorErrors struct + Code string + ForceSendFields []string + Location string + Message string + NullFields []string + func (s *OperationErrorErrors) MarshalJSON() ([]byte, error) + type OperationList struct + ForceSendFields []string + Id string + Items []*Operation + Kind string + NextPageToken string + NullFields []string + SelfLink string + func (s *OperationList) MarshalJSON() ([]byte, error) + type OperationWarnings struct + Code string + Data []*OperationWarningsData + ForceSendFields []string + Message string + NullFields []string + func (s *OperationWarnings) MarshalJSON() ([]byte, error) + type OperationWarningsData struct + ForceSendFields []string + Key string + NullFields []string + Value string + func (s *OperationWarningsData) MarshalJSON() ([]byte, error) + type RollingUpdate struct + ActionType string + CreationTimestamp string + Description string + Error *RollingUpdateError + ForceSendFields []string + Id string + InstanceGroup string + InstanceGroupManager string + InstanceTemplate string + Kind string + NullFields []string + OldInstanceTemplate string + Policy *RollingUpdatePolicy + Progress int64 + SelfLink string + Status string + StatusMessage string + User string + func (s *RollingUpdate) MarshalJSON() ([]byte, error) + type RollingUpdateError struct + Errors []*RollingUpdateErrorErrors + ForceSendFields []string + NullFields []string + func (s *RollingUpdateError) MarshalJSON() ([]byte, error) + type RollingUpdateErrorErrors struct + Code string + ForceSendFields []string + Location string + Message string + NullFields []string + func (s *RollingUpdateErrorErrors) MarshalJSON() ([]byte, error) + type RollingUpdateList struct + ForceSendFields []string + Items []*RollingUpdate + Kind string + NextPageToken string + NullFields []string + SelfLink string + func (s *RollingUpdateList) MarshalJSON() ([]byte, error) + type RollingUpdatePolicy struct + AutoPauseAfterInstances int64 + ForceSendFields []string + InstanceStartupTimeoutSec int64 + MaxNumConcurrentInstances int64 + MaxNumFailedInstances int64 + MinInstanceUpdateTimeSec int64 + NullFields []string + func (s *RollingUpdatePolicy) MarshalJSON() ([]byte, error) + type RollingUpdatesCancelCall struct + func (c *RollingUpdatesCancelCall) Context(ctx context.Context) *RollingUpdatesCancelCall + func (c *RollingUpdatesCancelCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *RollingUpdatesCancelCall) Fields(s ...googleapi.Field) *RollingUpdatesCancelCall + func (c *RollingUpdatesCancelCall) Header() http.Header + type RollingUpdatesGetCall struct + func (c *RollingUpdatesGetCall) Context(ctx context.Context) *RollingUpdatesGetCall + func (c *RollingUpdatesGetCall) Do(opts ...googleapi.CallOption) (*RollingUpdate, error) + func (c *RollingUpdatesGetCall) Fields(s ...googleapi.Field) *RollingUpdatesGetCall + func (c *RollingUpdatesGetCall) Header() http.Header + func (c *RollingUpdatesGetCall) IfNoneMatch(entityTag string) *RollingUpdatesGetCall + type RollingUpdatesInsertCall struct + func (c *RollingUpdatesInsertCall) Context(ctx context.Context) *RollingUpdatesInsertCall + func (c *RollingUpdatesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *RollingUpdatesInsertCall) Fields(s ...googleapi.Field) *RollingUpdatesInsertCall + func (c *RollingUpdatesInsertCall) Header() http.Header + type RollingUpdatesListCall struct + func (c *RollingUpdatesListCall) Context(ctx context.Context) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) Do(opts ...googleapi.CallOption) (*RollingUpdateList, error) + func (c *RollingUpdatesListCall) Fields(s ...googleapi.Field) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) Filter(filter string) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) Header() http.Header + func (c *RollingUpdatesListCall) IfNoneMatch(entityTag string) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) MaxResults(maxResults int64) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) PageToken(pageToken string) *RollingUpdatesListCall + func (c *RollingUpdatesListCall) Pages(ctx context.Context, f func(*RollingUpdateList) error) error + type RollingUpdatesListInstanceUpdatesCall struct + func (c *RollingUpdatesListInstanceUpdatesCall) Context(ctx context.Context) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) Do(opts ...googleapi.CallOption) (*InstanceUpdateList, error) + func (c *RollingUpdatesListInstanceUpdatesCall) Fields(s ...googleapi.Field) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) Filter(filter string) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) Header() http.Header + func (c *RollingUpdatesListInstanceUpdatesCall) IfNoneMatch(entityTag string) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) MaxResults(maxResults int64) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) PageToken(pageToken string) *RollingUpdatesListInstanceUpdatesCall + func (c *RollingUpdatesListInstanceUpdatesCall) Pages(ctx context.Context, f func(*InstanceUpdateList) error) error + type RollingUpdatesPauseCall struct + func (c *RollingUpdatesPauseCall) Context(ctx context.Context) *RollingUpdatesPauseCall + func (c *RollingUpdatesPauseCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *RollingUpdatesPauseCall) Fields(s ...googleapi.Field) *RollingUpdatesPauseCall + func (c *RollingUpdatesPauseCall) Header() http.Header + type RollingUpdatesResumeCall struct + func (c *RollingUpdatesResumeCall) Context(ctx context.Context) *RollingUpdatesResumeCall + func (c *RollingUpdatesResumeCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *RollingUpdatesResumeCall) Fields(s ...googleapi.Field) *RollingUpdatesResumeCall + func (c *RollingUpdatesResumeCall) Header() http.Header + type RollingUpdatesRollbackCall struct + func (c *RollingUpdatesRollbackCall) Context(ctx context.Context) *RollingUpdatesRollbackCall + func (c *RollingUpdatesRollbackCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *RollingUpdatesRollbackCall) Fields(s ...googleapi.Field) *RollingUpdatesRollbackCall + func (c *RollingUpdatesRollbackCall) Header() http.Header + type RollingUpdatesService struct + func NewRollingUpdatesService(s *Service) *RollingUpdatesService + func (r *RollingUpdatesService) Cancel(project string, zone string, rollingUpdate string) *RollingUpdatesCancelCall + func (r *RollingUpdatesService) Get(project string, zone string, rollingUpdate string) *RollingUpdatesGetCall + func (r *RollingUpdatesService) Insert(project string, zone string, rollingupdate *RollingUpdate) *RollingUpdatesInsertCall + func (r *RollingUpdatesService) List(project string, zone string) *RollingUpdatesListCall + func (r *RollingUpdatesService) ListInstanceUpdates(project string, zone string, rollingUpdate string) *RollingUpdatesListInstanceUpdatesCall + func (r *RollingUpdatesService) Pause(project string, zone string, rollingUpdate string) *RollingUpdatesPauseCall + func (r *RollingUpdatesService) Resume(project string, zone string, rollingUpdate string) *RollingUpdatesResumeCall + func (r *RollingUpdatesService) Rollback(project string, zone string, rollingUpdate string) *RollingUpdatesRollbackCall + type Service struct + BasePath string + RollingUpdates *RollingUpdatesService + UserAgent string + ZoneOperations *ZoneOperationsService + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type ZoneOperationsGetCall struct + func (c *ZoneOperationsGetCall) Context(ctx context.Context) *ZoneOperationsGetCall + func (c *ZoneOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ZoneOperationsGetCall) Fields(s ...googleapi.Field) *ZoneOperationsGetCall + func (c *ZoneOperationsGetCall) Header() http.Header + func (c *ZoneOperationsGetCall) IfNoneMatch(entityTag string) *ZoneOperationsGetCall + type ZoneOperationsListCall struct + func (c *ZoneOperationsListCall) Context(ctx context.Context) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) Do(opts ...googleapi.CallOption) (*OperationList, error) + func (c *ZoneOperationsListCall) Fields(s ...googleapi.Field) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) Filter(filter string) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) Header() http.Header + func (c *ZoneOperationsListCall) IfNoneMatch(entityTag string) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) MaxResults(maxResults int64) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) PageToken(pageToken string) *ZoneOperationsListCall + func (c *ZoneOperationsListCall) Pages(ctx context.Context, f func(*OperationList) error) error + type ZoneOperationsService struct + func NewZoneOperationsService(s *Service) *ZoneOperationsService + func (r *ZoneOperationsService) Get(project string, zone string, operation string) *ZoneOperationsGetCall + func (r *ZoneOperationsService) List(project string, zone string) *ZoneOperationsListCall