Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudBillingScope + const CloudPlatformScope + type BillingAccountsBudgetsCreateCall struct + func (c *BillingAccountsBudgetsCreateCall) Context(ctx context.Context) *BillingAccountsBudgetsCreateCall + func (c *BillingAccountsBudgetsCreateCall) Do(opts ...googleapi.CallOption) (*GoogleCloudBillingBudgetsV1beta1Budget, error) + func (c *BillingAccountsBudgetsCreateCall) Fields(s ...googleapi.Field) *BillingAccountsBudgetsCreateCall + func (c *BillingAccountsBudgetsCreateCall) Header() http.Header + type BillingAccountsBudgetsDeleteCall struct + func (c *BillingAccountsBudgetsDeleteCall) Context(ctx context.Context) *BillingAccountsBudgetsDeleteCall + func (c *BillingAccountsBudgetsDeleteCall) Do(opts ...googleapi.CallOption) (*GoogleProtobufEmpty, error) + func (c *BillingAccountsBudgetsDeleteCall) Fields(s ...googleapi.Field) *BillingAccountsBudgetsDeleteCall + func (c *BillingAccountsBudgetsDeleteCall) Header() http.Header + type BillingAccountsBudgetsGetCall struct + func (c *BillingAccountsBudgetsGetCall) Context(ctx context.Context) *BillingAccountsBudgetsGetCall + func (c *BillingAccountsBudgetsGetCall) Do(opts ...googleapi.CallOption) (*GoogleCloudBillingBudgetsV1beta1Budget, error) + func (c *BillingAccountsBudgetsGetCall) Fields(s ...googleapi.Field) *BillingAccountsBudgetsGetCall + func (c *BillingAccountsBudgetsGetCall) Header() http.Header + func (c *BillingAccountsBudgetsGetCall) IfNoneMatch(entityTag string) *BillingAccountsBudgetsGetCall + type BillingAccountsBudgetsListCall struct + func (c *BillingAccountsBudgetsListCall) Context(ctx context.Context) *BillingAccountsBudgetsListCall + func (c *BillingAccountsBudgetsListCall) Do(opts ...googleapi.CallOption) (*GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse, error) + func (c *BillingAccountsBudgetsListCall) Fields(s ...googleapi.Field) *BillingAccountsBudgetsListCall + func (c *BillingAccountsBudgetsListCall) Header() http.Header + func (c *BillingAccountsBudgetsListCall) IfNoneMatch(entityTag string) *BillingAccountsBudgetsListCall + func (c *BillingAccountsBudgetsListCall) PageSize(pageSize int64) *BillingAccountsBudgetsListCall + func (c *BillingAccountsBudgetsListCall) PageToken(pageToken string) *BillingAccountsBudgetsListCall + func (c *BillingAccountsBudgetsListCall) Pages(ctx context.Context, ...) error + func (c *BillingAccountsBudgetsListCall) Scope(scope string) *BillingAccountsBudgetsListCall + type BillingAccountsBudgetsPatchCall struct + func (c *BillingAccountsBudgetsPatchCall) Context(ctx context.Context) *BillingAccountsBudgetsPatchCall + func (c *BillingAccountsBudgetsPatchCall) Do(opts ...googleapi.CallOption) (*GoogleCloudBillingBudgetsV1beta1Budget, error) + func (c *BillingAccountsBudgetsPatchCall) Fields(s ...googleapi.Field) *BillingAccountsBudgetsPatchCall + func (c *BillingAccountsBudgetsPatchCall) Header() http.Header + type BillingAccountsBudgetsService struct + func NewBillingAccountsBudgetsService(s *Service) *BillingAccountsBudgetsService + func (r *BillingAccountsBudgetsService) Create(parent string, ...) *BillingAccountsBudgetsCreateCall + func (r *BillingAccountsBudgetsService) Delete(name string) *BillingAccountsBudgetsDeleteCall + func (r *BillingAccountsBudgetsService) Get(name string) *BillingAccountsBudgetsGetCall + func (r *BillingAccountsBudgetsService) List(parent string) *BillingAccountsBudgetsListCall + func (r *BillingAccountsBudgetsService) Patch(name string, ...) *BillingAccountsBudgetsPatchCall + type BillingAccountsService struct + Budgets *BillingAccountsBudgetsService + func NewBillingAccountsService(s *Service) *BillingAccountsService + type GoogleCloudBillingBudgetsV1beta1AllUpdatesRule struct + DisableDefaultIamRecipients bool + EnableProjectLevelRecipients bool + ForceSendFields []string + MonitoringNotificationChannels []string + NullFields []string + PubsubTopic string + SchemaVersion string + func (s *GoogleCloudBillingBudgetsV1beta1AllUpdatesRule) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1Budget struct + AllUpdatesRule *GoogleCloudBillingBudgetsV1beta1AllUpdatesRule + Amount *GoogleCloudBillingBudgetsV1beta1BudgetAmount + BudgetFilter *GoogleCloudBillingBudgetsV1beta1Filter + DisplayName string + Etag string + ForceSendFields []string + Name string + NullFields []string + OwnershipScope string + ThresholdRules []*GoogleCloudBillingBudgetsV1beta1ThresholdRule + func (s *GoogleCloudBillingBudgetsV1beta1Budget) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1BudgetAmount struct + ForceSendFields []string + LastPeriodAmount *GoogleCloudBillingBudgetsV1beta1LastPeriodAmount + NullFields []string + SpecifiedAmount *GoogleTypeMoney + func (s *GoogleCloudBillingBudgetsV1beta1BudgetAmount) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest struct + Budget *GoogleCloudBillingBudgetsV1beta1Budget + ForceSendFields []string + NullFields []string + func (s *GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1CustomPeriod struct + EndDate *GoogleTypeDate + ForceSendFields []string + NullFields []string + StartDate *GoogleTypeDate + func (s *GoogleCloudBillingBudgetsV1beta1CustomPeriod) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1Filter struct + CalendarPeriod string + CreditTypes []string + CreditTypesTreatment string + CustomPeriod *GoogleCloudBillingBudgetsV1beta1CustomPeriod + ForceSendFields []string + Labels map[string][]interface{} + NullFields []string + Projects []string + ResourceAncestors []string + Services []string + Subaccounts []string + func (s *GoogleCloudBillingBudgetsV1beta1Filter) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1LastPeriodAmount struct + type GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse struct + Budgets []*GoogleCloudBillingBudgetsV1beta1Budget + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse) MarshalJSON() ([]byte, error) + type GoogleCloudBillingBudgetsV1beta1ThresholdRule struct + ForceSendFields []string + NullFields []string + SpendBasis string + ThresholdPercent float64 + func (s *GoogleCloudBillingBudgetsV1beta1ThresholdRule) MarshalJSON() ([]byte, error) + func (s *GoogleCloudBillingBudgetsV1beta1ThresholdRule) UnmarshalJSON(data []byte) error + type GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest struct + Budget *GoogleCloudBillingBudgetsV1beta1Budget + ForceSendFields []string + NullFields []string + UpdateMask string + func (s *GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest) MarshalJSON() ([]byte, error) + type GoogleProtobufEmpty struct + type GoogleTypeDate struct + Day int64 + ForceSendFields []string + Month int64 + NullFields []string + Year int64 + func (s *GoogleTypeDate) MarshalJSON() ([]byte, error) + type GoogleTypeMoney struct + CurrencyCode string + ForceSendFields []string + Nanos int64 + NullFields []string + Units int64 + func (s *GoogleTypeMoney) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + BillingAccounts *BillingAccountsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)