Documentation
¶
Index ¶
- type Api
- type ApiArgs
- type ApiArray
- type ApiArrayInput
- type ApiArrayOutput
- type ApiInput
- type ApiOutput
- func (ApiOutput) ElementType() reflect.Type
- func (o ApiOutput) Methods() MethodArrayOutput
- func (o ApiOutput) Mixins() MixinArrayOutput
- func (o ApiOutput) Name() pulumi.StringPtrOutput
- func (o ApiOutput) Options() OptionArrayOutput
- func (o ApiOutput) SourceContext() SourceContextPtrOutput
- func (o ApiOutput) Syntax() pulumi.StringPtrOutput
- func (o ApiOutput) ToApiOutput() ApiOutput
- func (o ApiOutput) ToApiOutputWithContext(ctx context.Context) ApiOutput
- func (o ApiOutput) Version() pulumi.StringPtrOutput
- type ApiResponse
- type ApiResponseArgs
- type ApiResponseArray
- type ApiResponseArrayInput
- type ApiResponseArrayOutput
- func (ApiResponseArrayOutput) ElementType() reflect.Type
- func (o ApiResponseArrayOutput) Index(i pulumi.IntInput) ApiResponseOutput
- func (o ApiResponseArrayOutput) ToApiResponseArrayOutput() ApiResponseArrayOutput
- func (o ApiResponseArrayOutput) ToApiResponseArrayOutputWithContext(ctx context.Context) ApiResponseArrayOutput
- type ApiResponseInput
- type ApiResponseOutput
- func (ApiResponseOutput) ElementType() reflect.Type
- func (o ApiResponseOutput) Methods() MethodResponseArrayOutput
- func (o ApiResponseOutput) Mixins() MixinResponseArrayOutput
- func (o ApiResponseOutput) Name() pulumi.StringOutput
- func (o ApiResponseOutput) Options() OptionResponseArrayOutput
- func (o ApiResponseOutput) SourceContext() SourceContextResponseOutput
- func (o ApiResponseOutput) Syntax() pulumi.StringOutput
- func (o ApiResponseOutput) ToApiResponseOutput() ApiResponseOutput
- func (o ApiResponseOutput) ToApiResponseOutputWithContext(ctx context.Context) ApiResponseOutput
- func (o ApiResponseOutput) Version() pulumi.StringOutput
- type AuditConfig
- type AuditConfigArgs
- type AuditConfigArray
- type AuditConfigArrayInput
- type AuditConfigArrayOutput
- func (AuditConfigArrayOutput) ElementType() reflect.Type
- func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
- func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
- type AuditConfigInput
- type AuditConfigOutput
- func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
- func (AuditConfigOutput) ElementType() reflect.Type
- func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
- func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
- func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
- type AuditConfigResponse
- type AuditConfigResponseArgs
- type AuditConfigResponseArray
- type AuditConfigResponseArrayInput
- type AuditConfigResponseArrayOutput
- func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
- func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
- type AuditConfigResponseInput
- type AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
- func (AuditConfigResponseOutput) ElementType() reflect.Type
- func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
- func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
- type AuditLogConfig
- type AuditLogConfigArgs
- type AuditLogConfigArray
- type AuditLogConfigArrayInput
- type AuditLogConfigArrayOutput
- func (AuditLogConfigArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
- func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
- type AuditLogConfigInput
- type AuditLogConfigOutput
- func (AuditLogConfigOutput) ElementType() reflect.Type
- func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigOutput) LogType() pulumi.StringPtrOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
- func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
- type AuditLogConfigResponse
- type AuditLogConfigResponseArgs
- type AuditLogConfigResponseArray
- func (AuditLogConfigResponseArray) ElementType() reflect.Type
- func (i AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
- func (i AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
- type AuditLogConfigResponseArrayInput
- type AuditLogConfigResponseArrayOutput
- func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
- func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
- type AuditLogConfigResponseInput
- type AuditLogConfigResponseOutput
- func (AuditLogConfigResponseOutput) ElementType() reflect.Type
- func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
- func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
- func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
- type AuthProvider
- type AuthProviderArgs
- type AuthProviderArray
- type AuthProviderArrayInput
- type AuthProviderArrayOutput
- func (AuthProviderArrayOutput) ElementType() reflect.Type
- func (o AuthProviderArrayOutput) Index(i pulumi.IntInput) AuthProviderOutput
- func (o AuthProviderArrayOutput) ToAuthProviderArrayOutput() AuthProviderArrayOutput
- func (o AuthProviderArrayOutput) ToAuthProviderArrayOutputWithContext(ctx context.Context) AuthProviderArrayOutput
- type AuthProviderInput
- type AuthProviderOutput
- func (o AuthProviderOutput) Audiences() pulumi.StringPtrOutput
- func (o AuthProviderOutput) AuthorizationUrl() pulumi.StringPtrOutput
- func (AuthProviderOutput) ElementType() reflect.Type
- func (o AuthProviderOutput) Id() pulumi.StringPtrOutput
- func (o AuthProviderOutput) Issuer() pulumi.StringPtrOutput
- func (o AuthProviderOutput) JwksUri() pulumi.StringPtrOutput
- func (o AuthProviderOutput) JwtLocations() JwtLocationArrayOutput
- func (o AuthProviderOutput) ToAuthProviderOutput() AuthProviderOutput
- func (o AuthProviderOutput) ToAuthProviderOutputWithContext(ctx context.Context) AuthProviderOutput
- type AuthProviderResponse
- type AuthProviderResponseArgs
- type AuthProviderResponseArray
- type AuthProviderResponseArrayInput
- type AuthProviderResponseArrayOutput
- func (AuthProviderResponseArrayOutput) ElementType() reflect.Type
- func (o AuthProviderResponseArrayOutput) Index(i pulumi.IntInput) AuthProviderResponseOutput
- func (o AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutput() AuthProviderResponseArrayOutput
- func (o AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutputWithContext(ctx context.Context) AuthProviderResponseArrayOutput
- type AuthProviderResponseInput
- type AuthProviderResponseOutput
- func (o AuthProviderResponseOutput) Audiences() pulumi.StringOutput
- func (o AuthProviderResponseOutput) AuthorizationUrl() pulumi.StringOutput
- func (AuthProviderResponseOutput) ElementType() reflect.Type
- func (o AuthProviderResponseOutput) Issuer() pulumi.StringOutput
- func (o AuthProviderResponseOutput) JwksUri() pulumi.StringOutput
- func (o AuthProviderResponseOutput) JwtLocations() JwtLocationResponseArrayOutput
- func (o AuthProviderResponseOutput) ToAuthProviderResponseOutput() AuthProviderResponseOutput
- func (o AuthProviderResponseOutput) ToAuthProviderResponseOutputWithContext(ctx context.Context) AuthProviderResponseOutput
- type AuthRequirement
- type AuthRequirementArgs
- type AuthRequirementArray
- type AuthRequirementArrayInput
- type AuthRequirementArrayOutput
- func (AuthRequirementArrayOutput) ElementType() reflect.Type
- func (o AuthRequirementArrayOutput) Index(i pulumi.IntInput) AuthRequirementOutput
- func (o AuthRequirementArrayOutput) ToAuthRequirementArrayOutput() AuthRequirementArrayOutput
- func (o AuthRequirementArrayOutput) ToAuthRequirementArrayOutputWithContext(ctx context.Context) AuthRequirementArrayOutput
- type AuthRequirementInput
- type AuthRequirementOutput
- func (o AuthRequirementOutput) Audiences() pulumi.StringPtrOutput
- func (AuthRequirementOutput) ElementType() reflect.Type
- func (o AuthRequirementOutput) ProviderId() pulumi.StringPtrOutput
- func (o AuthRequirementOutput) ToAuthRequirementOutput() AuthRequirementOutput
- func (o AuthRequirementOutput) ToAuthRequirementOutputWithContext(ctx context.Context) AuthRequirementOutput
- type AuthRequirementResponse
- type AuthRequirementResponseArgs
- type AuthRequirementResponseArray
- func (AuthRequirementResponseArray) ElementType() reflect.Type
- func (i AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutput() AuthRequirementResponseArrayOutput
- func (i AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutputWithContext(ctx context.Context) AuthRequirementResponseArrayOutput
- type AuthRequirementResponseArrayInput
- type AuthRequirementResponseArrayOutput
- func (AuthRequirementResponseArrayOutput) ElementType() reflect.Type
- func (o AuthRequirementResponseArrayOutput) Index(i pulumi.IntInput) AuthRequirementResponseOutput
- func (o AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutput() AuthRequirementResponseArrayOutput
- func (o AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutputWithContext(ctx context.Context) AuthRequirementResponseArrayOutput
- type AuthRequirementResponseInput
- type AuthRequirementResponseOutput
- func (o AuthRequirementResponseOutput) Audiences() pulumi.StringOutput
- func (AuthRequirementResponseOutput) ElementType() reflect.Type
- func (o AuthRequirementResponseOutput) ProviderId() pulumi.StringOutput
- func (o AuthRequirementResponseOutput) ToAuthRequirementResponseOutput() AuthRequirementResponseOutput
- func (o AuthRequirementResponseOutput) ToAuthRequirementResponseOutputWithContext(ctx context.Context) AuthRequirementResponseOutput
- type Authentication
- type AuthenticationArgs
- func (AuthenticationArgs) ElementType() reflect.Type
- func (i AuthenticationArgs) ToAuthenticationOutput() AuthenticationOutput
- func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Context) AuthenticationOutput
- func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput
- func (i AuthenticationArgs) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
- type AuthenticationInput
- type AuthenticationOutput
- func (AuthenticationOutput) ElementType() reflect.Type
- func (o AuthenticationOutput) Providers() AuthProviderArrayOutput
- func (o AuthenticationOutput) Rules() AuthenticationRuleArrayOutput
- func (o AuthenticationOutput) ToAuthenticationOutput() AuthenticationOutput
- func (o AuthenticationOutput) ToAuthenticationOutputWithContext(ctx context.Context) AuthenticationOutput
- func (o AuthenticationOutput) ToAuthenticationPtrOutput() AuthenticationPtrOutput
- func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
- type AuthenticationPtrInput
- type AuthenticationPtrOutput
- func (o AuthenticationPtrOutput) Elem() AuthenticationOutput
- func (AuthenticationPtrOutput) ElementType() reflect.Type
- func (o AuthenticationPtrOutput) Providers() AuthProviderArrayOutput
- func (o AuthenticationPtrOutput) Rules() AuthenticationRuleArrayOutput
- func (o AuthenticationPtrOutput) ToAuthenticationPtrOutput() AuthenticationPtrOutput
- func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
- type AuthenticationResponse
- type AuthenticationResponseArgs
- func (AuthenticationResponseArgs) ElementType() reflect.Type
- func (i AuthenticationResponseArgs) ToAuthenticationResponseOutput() AuthenticationResponseOutput
- func (i AuthenticationResponseArgs) ToAuthenticationResponseOutputWithContext(ctx context.Context) AuthenticationResponseOutput
- func (i AuthenticationResponseArgs) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
- func (i AuthenticationResponseArgs) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
- type AuthenticationResponseInput
- type AuthenticationResponseOutput
- func (AuthenticationResponseOutput) ElementType() reflect.Type
- func (o AuthenticationResponseOutput) Providers() AuthProviderResponseArrayOutput
- func (o AuthenticationResponseOutput) Rules() AuthenticationRuleResponseArrayOutput
- func (o AuthenticationResponseOutput) ToAuthenticationResponseOutput() AuthenticationResponseOutput
- func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext(ctx context.Context) AuthenticationResponseOutput
- func (o AuthenticationResponseOutput) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
- func (o AuthenticationResponseOutput) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
- type AuthenticationResponsePtrInput
- type AuthenticationResponsePtrOutput
- func (o AuthenticationResponsePtrOutput) Elem() AuthenticationResponseOutput
- func (AuthenticationResponsePtrOutput) ElementType() reflect.Type
- func (o AuthenticationResponsePtrOutput) Providers() AuthProviderResponseArrayOutput
- func (o AuthenticationResponsePtrOutput) Rules() AuthenticationRuleResponseArrayOutput
- func (o AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
- func (o AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
- type AuthenticationRule
- type AuthenticationRuleArgs
- type AuthenticationRuleArray
- type AuthenticationRuleArrayInput
- type AuthenticationRuleArrayOutput
- func (AuthenticationRuleArrayOutput) ElementType() reflect.Type
- func (o AuthenticationRuleArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleOutput
- func (o AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutput() AuthenticationRuleArrayOutput
- func (o AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutputWithContext(ctx context.Context) AuthenticationRuleArrayOutput
- type AuthenticationRuleInput
- type AuthenticationRuleOutput
- func (o AuthenticationRuleOutput) AllowWithoutCredential() pulumi.BoolPtrOutput
- func (AuthenticationRuleOutput) ElementType() reflect.Type
- func (o AuthenticationRuleOutput) Oauth() OAuthRequirementsPtrOutput
- func (o AuthenticationRuleOutput) Requirements() AuthRequirementArrayOutput
- func (o AuthenticationRuleOutput) Selector() pulumi.StringPtrOutput
- func (o AuthenticationRuleOutput) ToAuthenticationRuleOutput() AuthenticationRuleOutput
- func (o AuthenticationRuleOutput) ToAuthenticationRuleOutputWithContext(ctx context.Context) AuthenticationRuleOutput
- type AuthenticationRuleResponse
- type AuthenticationRuleResponseArgs
- func (AuthenticationRuleResponseArgs) ElementType() reflect.Type
- func (i AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutput() AuthenticationRuleResponseOutput
- func (i AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutputWithContext(ctx context.Context) AuthenticationRuleResponseOutput
- type AuthenticationRuleResponseArray
- func (AuthenticationRuleResponseArray) ElementType() reflect.Type
- func (i AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutput() AuthenticationRuleResponseArrayOutput
- func (i AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutputWithContext(ctx context.Context) AuthenticationRuleResponseArrayOutput
- type AuthenticationRuleResponseArrayInput
- type AuthenticationRuleResponseArrayOutput
- func (AuthenticationRuleResponseArrayOutput) ElementType() reflect.Type
- func (o AuthenticationRuleResponseArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleResponseOutput
- func (o AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutput() AuthenticationRuleResponseArrayOutput
- func (o AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutputWithContext(ctx context.Context) AuthenticationRuleResponseArrayOutput
- type AuthenticationRuleResponseInput
- type AuthenticationRuleResponseOutput
- func (o AuthenticationRuleResponseOutput) AllowWithoutCredential() pulumi.BoolOutput
- func (AuthenticationRuleResponseOutput) ElementType() reflect.Type
- func (o AuthenticationRuleResponseOutput) Oauth() OAuthRequirementsResponseOutput
- func (o AuthenticationRuleResponseOutput) Requirements() AuthRequirementResponseArrayOutput
- func (o AuthenticationRuleResponseOutput) Selector() pulumi.StringOutput
- func (o AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutput() AuthenticationRuleResponseOutput
- func (o AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutputWithContext(ctx context.Context) AuthenticationRuleResponseOutput
- type Backend
- type BackendArgs
- func (BackendArgs) ElementType() reflect.Type
- func (i BackendArgs) ToBackendOutput() BackendOutput
- func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutput
- func (i BackendArgs) ToBackendPtrOutput() BackendPtrOutput
- func (i BackendArgs) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
- type BackendInput
- type BackendOutput
- func (BackendOutput) ElementType() reflect.Type
- func (o BackendOutput) Rules() BackendRuleArrayOutput
- func (o BackendOutput) ToBackendOutput() BackendOutput
- func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOutput
- func (o BackendOutput) ToBackendPtrOutput() BackendPtrOutput
- func (o BackendOutput) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
- type BackendPtrInput
- type BackendPtrOutput
- func (o BackendPtrOutput) Elem() BackendOutput
- func (BackendPtrOutput) ElementType() reflect.Type
- func (o BackendPtrOutput) Rules() BackendRuleArrayOutput
- func (o BackendPtrOutput) ToBackendPtrOutput() BackendPtrOutput
- func (o BackendPtrOutput) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
- type BackendResponse
- type BackendResponseArgs
- func (BackendResponseArgs) ElementType() reflect.Type
- func (i BackendResponseArgs) ToBackendResponseOutput() BackendResponseOutput
- func (i BackendResponseArgs) ToBackendResponseOutputWithContext(ctx context.Context) BackendResponseOutput
- func (i BackendResponseArgs) ToBackendResponsePtrOutput() BackendResponsePtrOutput
- func (i BackendResponseArgs) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
- type BackendResponseInput
- type BackendResponseOutput
- func (BackendResponseOutput) ElementType() reflect.Type
- func (o BackendResponseOutput) Rules() BackendRuleResponseArrayOutput
- func (o BackendResponseOutput) ToBackendResponseOutput() BackendResponseOutput
- func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Context) BackendResponseOutput
- func (o BackendResponseOutput) ToBackendResponsePtrOutput() BackendResponsePtrOutput
- func (o BackendResponseOutput) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
- type BackendResponsePtrInput
- type BackendResponsePtrOutput
- func (o BackendResponsePtrOutput) Elem() BackendResponseOutput
- func (BackendResponsePtrOutput) ElementType() reflect.Type
- func (o BackendResponsePtrOutput) Rules() BackendRuleResponseArrayOutput
- func (o BackendResponsePtrOutput) ToBackendResponsePtrOutput() BackendResponsePtrOutput
- func (o BackendResponsePtrOutput) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
- type BackendRule
- type BackendRuleArgs
- type BackendRuleArray
- type BackendRuleArrayInput
- type BackendRuleArrayOutput
- func (BackendRuleArrayOutput) ElementType() reflect.Type
- func (o BackendRuleArrayOutput) Index(i pulumi.IntInput) BackendRuleOutput
- func (o BackendRuleArrayOutput) ToBackendRuleArrayOutput() BackendRuleArrayOutput
- func (o BackendRuleArrayOutput) ToBackendRuleArrayOutputWithContext(ctx context.Context) BackendRuleArrayOutput
- type BackendRuleInput
- type BackendRuleOutput
- func (o BackendRuleOutput) Address() pulumi.StringPtrOutput
- func (o BackendRuleOutput) Deadline() pulumi.Float64PtrOutput
- func (o BackendRuleOutput) DisableAuth() pulumi.BoolPtrOutput
- func (BackendRuleOutput) ElementType() reflect.Type
- func (o BackendRuleOutput) JwtAudience() pulumi.StringPtrOutput
- func (o BackendRuleOutput) MinDeadline() pulumi.Float64PtrOutput
- func (o BackendRuleOutput) OperationDeadline() pulumi.Float64PtrOutput
- func (o BackendRuleOutput) PathTranslation() pulumi.StringPtrOutput
- func (o BackendRuleOutput) Protocol() pulumi.StringPtrOutput
- func (o BackendRuleOutput) Selector() pulumi.StringPtrOutput
- func (o BackendRuleOutput) ToBackendRuleOutput() BackendRuleOutput
- func (o BackendRuleOutput) ToBackendRuleOutputWithContext(ctx context.Context) BackendRuleOutput
- type BackendRuleResponse
- type BackendRuleResponseArgs
- type BackendRuleResponseArray
- type BackendRuleResponseArrayInput
- type BackendRuleResponseArrayOutput
- func (BackendRuleResponseArrayOutput) ElementType() reflect.Type
- func (o BackendRuleResponseArrayOutput) Index(i pulumi.IntInput) BackendRuleResponseOutput
- func (o BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutput() BackendRuleResponseArrayOutput
- func (o BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutputWithContext(ctx context.Context) BackendRuleResponseArrayOutput
- type BackendRuleResponseInput
- type BackendRuleResponseOutput
- func (o BackendRuleResponseOutput) Address() pulumi.StringOutput
- func (o BackendRuleResponseOutput) Deadline() pulumi.Float64Output
- func (o BackendRuleResponseOutput) DisableAuth() pulumi.BoolOutput
- func (BackendRuleResponseOutput) ElementType() reflect.Type
- func (o BackendRuleResponseOutput) JwtAudience() pulumi.StringOutput
- func (o BackendRuleResponseOutput) MinDeadline() pulumi.Float64Output
- func (o BackendRuleResponseOutput) OperationDeadline() pulumi.Float64Output
- func (o BackendRuleResponseOutput) PathTranslation() pulumi.StringOutput
- func (o BackendRuleResponseOutput) Protocol() pulumi.StringOutput
- func (o BackendRuleResponseOutput) Selector() pulumi.StringOutput
- func (o BackendRuleResponseOutput) ToBackendRuleResponseOutput() BackendRuleResponseOutput
- func (o BackendRuleResponseOutput) ToBackendRuleResponseOutputWithContext(ctx context.Context) BackendRuleResponseOutput
- type Billing
- type BillingArgs
- func (BillingArgs) ElementType() reflect.Type
- func (i BillingArgs) ToBillingOutput() BillingOutput
- func (i BillingArgs) ToBillingOutputWithContext(ctx context.Context) BillingOutput
- func (i BillingArgs) ToBillingPtrOutput() BillingPtrOutput
- func (i BillingArgs) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
- type BillingDestination
- type BillingDestinationArgs
- type BillingDestinationArray
- type BillingDestinationArrayInput
- type BillingDestinationArrayOutput
- func (BillingDestinationArrayOutput) ElementType() reflect.Type
- func (o BillingDestinationArrayOutput) Index(i pulumi.IntInput) BillingDestinationOutput
- func (o BillingDestinationArrayOutput) ToBillingDestinationArrayOutput() BillingDestinationArrayOutput
- func (o BillingDestinationArrayOutput) ToBillingDestinationArrayOutputWithContext(ctx context.Context) BillingDestinationArrayOutput
- type BillingDestinationInput
- type BillingDestinationOutput
- func (BillingDestinationOutput) ElementType() reflect.Type
- func (o BillingDestinationOutput) Metrics() pulumi.StringArrayOutput
- func (o BillingDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
- func (o BillingDestinationOutput) ToBillingDestinationOutput() BillingDestinationOutput
- func (o BillingDestinationOutput) ToBillingDestinationOutputWithContext(ctx context.Context) BillingDestinationOutput
- type BillingDestinationResponse
- type BillingDestinationResponseArgs
- func (BillingDestinationResponseArgs) ElementType() reflect.Type
- func (i BillingDestinationResponseArgs) ToBillingDestinationResponseOutput() BillingDestinationResponseOutput
- func (i BillingDestinationResponseArgs) ToBillingDestinationResponseOutputWithContext(ctx context.Context) BillingDestinationResponseOutput
- type BillingDestinationResponseArray
- func (BillingDestinationResponseArray) ElementType() reflect.Type
- func (i BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutput() BillingDestinationResponseArrayOutput
- func (i BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutputWithContext(ctx context.Context) BillingDestinationResponseArrayOutput
- type BillingDestinationResponseArrayInput
- type BillingDestinationResponseArrayOutput
- func (BillingDestinationResponseArrayOutput) ElementType() reflect.Type
- func (o BillingDestinationResponseArrayOutput) Index(i pulumi.IntInput) BillingDestinationResponseOutput
- func (o BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutput() BillingDestinationResponseArrayOutput
- func (o BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutputWithContext(ctx context.Context) BillingDestinationResponseArrayOutput
- type BillingDestinationResponseInput
- type BillingDestinationResponseOutput
- func (BillingDestinationResponseOutput) ElementType() reflect.Type
- func (o BillingDestinationResponseOutput) Metrics() pulumi.StringArrayOutput
- func (o BillingDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
- func (o BillingDestinationResponseOutput) ToBillingDestinationResponseOutput() BillingDestinationResponseOutput
- func (o BillingDestinationResponseOutput) ToBillingDestinationResponseOutputWithContext(ctx context.Context) BillingDestinationResponseOutput
- type BillingInput
- type BillingOutput
- func (o BillingOutput) ConsumerDestinations() BillingDestinationArrayOutput
- func (BillingOutput) ElementType() reflect.Type
- func (o BillingOutput) ToBillingOutput() BillingOutput
- func (o BillingOutput) ToBillingOutputWithContext(ctx context.Context) BillingOutput
- func (o BillingOutput) ToBillingPtrOutput() BillingPtrOutput
- func (o BillingOutput) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
- type BillingPtrInput
- type BillingPtrOutput
- func (o BillingPtrOutput) ConsumerDestinations() BillingDestinationArrayOutput
- func (o BillingPtrOutput) Elem() BillingOutput
- func (BillingPtrOutput) ElementType() reflect.Type
- func (o BillingPtrOutput) ToBillingPtrOutput() BillingPtrOutput
- func (o BillingPtrOutput) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
- type BillingResponse
- type BillingResponseArgs
- func (BillingResponseArgs) ElementType() reflect.Type
- func (i BillingResponseArgs) ToBillingResponseOutput() BillingResponseOutput
- func (i BillingResponseArgs) ToBillingResponseOutputWithContext(ctx context.Context) BillingResponseOutput
- func (i BillingResponseArgs) ToBillingResponsePtrOutput() BillingResponsePtrOutput
- func (i BillingResponseArgs) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
- type BillingResponseInput
- type BillingResponseOutput
- func (o BillingResponseOutput) ConsumerDestinations() BillingDestinationResponseArrayOutput
- func (BillingResponseOutput) ElementType() reflect.Type
- func (o BillingResponseOutput) ToBillingResponseOutput() BillingResponseOutput
- func (o BillingResponseOutput) ToBillingResponseOutputWithContext(ctx context.Context) BillingResponseOutput
- func (o BillingResponseOutput) ToBillingResponsePtrOutput() BillingResponsePtrOutput
- func (o BillingResponseOutput) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
- type BillingResponsePtrInput
- type BillingResponsePtrOutput
- func (o BillingResponsePtrOutput) ConsumerDestinations() BillingDestinationResponseArrayOutput
- func (o BillingResponsePtrOutput) Elem() BillingResponseOutput
- func (BillingResponsePtrOutput) ElementType() reflect.Type
- func (o BillingResponsePtrOutput) ToBillingResponsePtrOutput() BillingResponsePtrOutput
- func (o BillingResponsePtrOutput) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
- type Binding
- type BindingArgs
- type BindingArray
- type BindingArrayInput
- type BindingArrayOutput
- type BindingInput
- type BindingOutput
- func (o BindingOutput) Condition() ExprPtrOutput
- func (BindingOutput) ElementType() reflect.Type
- func (o BindingOutput) Members() pulumi.StringArrayOutput
- func (o BindingOutput) Role() pulumi.StringPtrOutput
- func (o BindingOutput) ToBindingOutput() BindingOutput
- func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
- type BindingResponse
- type BindingResponseArgs
- type BindingResponseArray
- type BindingResponseArrayInput
- type BindingResponseArrayOutput
- func (BindingResponseArrayOutput) ElementType() reflect.Type
- func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
- func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
- type BindingResponseInput
- type BindingResponseOutput
- func (o BindingResponseOutput) Condition() ExprResponseOutput
- func (BindingResponseOutput) ElementType() reflect.Type
- func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
- func (o BindingResponseOutput) Role() pulumi.StringOutput
- func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
- func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
- type Config
- type ConfigArgs
- type ConfigInput
- type ConfigOutput
- type ConfigState
- type Context
- type ContextArgs
- func (ContextArgs) ElementType() reflect.Type
- func (i ContextArgs) ToContextOutput() ContextOutput
- func (i ContextArgs) ToContextOutputWithContext(ctx context.Context) ContextOutput
- func (i ContextArgs) ToContextPtrOutput() ContextPtrOutput
- func (i ContextArgs) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
- type ContextInput
- type ContextOutput
- func (ContextOutput) ElementType() reflect.Type
- func (o ContextOutput) Rules() ContextRuleArrayOutput
- func (o ContextOutput) ToContextOutput() ContextOutput
- func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOutput
- func (o ContextOutput) ToContextPtrOutput() ContextPtrOutput
- func (o ContextOutput) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
- type ContextPtrInput
- type ContextPtrOutput
- func (o ContextPtrOutput) Elem() ContextOutput
- func (ContextPtrOutput) ElementType() reflect.Type
- func (o ContextPtrOutput) Rules() ContextRuleArrayOutput
- func (o ContextPtrOutput) ToContextPtrOutput() ContextPtrOutput
- func (o ContextPtrOutput) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
- type ContextResponse
- type ContextResponseArgs
- func (ContextResponseArgs) ElementType() reflect.Type
- func (i ContextResponseArgs) ToContextResponseOutput() ContextResponseOutput
- func (i ContextResponseArgs) ToContextResponseOutputWithContext(ctx context.Context) ContextResponseOutput
- func (i ContextResponseArgs) ToContextResponsePtrOutput() ContextResponsePtrOutput
- func (i ContextResponseArgs) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
- type ContextResponseInput
- type ContextResponseOutput
- func (ContextResponseOutput) ElementType() reflect.Type
- func (o ContextResponseOutput) Rules() ContextRuleResponseArrayOutput
- func (o ContextResponseOutput) ToContextResponseOutput() ContextResponseOutput
- func (o ContextResponseOutput) ToContextResponseOutputWithContext(ctx context.Context) ContextResponseOutput
- func (o ContextResponseOutput) ToContextResponsePtrOutput() ContextResponsePtrOutput
- func (o ContextResponseOutput) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
- type ContextResponsePtrInput
- type ContextResponsePtrOutput
- func (o ContextResponsePtrOutput) Elem() ContextResponseOutput
- func (ContextResponsePtrOutput) ElementType() reflect.Type
- func (o ContextResponsePtrOutput) Rules() ContextRuleResponseArrayOutput
- func (o ContextResponsePtrOutput) ToContextResponsePtrOutput() ContextResponsePtrOutput
- func (o ContextResponsePtrOutput) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
- type ContextRule
- type ContextRuleArgs
- type ContextRuleArray
- type ContextRuleArrayInput
- type ContextRuleArrayOutput
- func (ContextRuleArrayOutput) ElementType() reflect.Type
- func (o ContextRuleArrayOutput) Index(i pulumi.IntInput) ContextRuleOutput
- func (o ContextRuleArrayOutput) ToContextRuleArrayOutput() ContextRuleArrayOutput
- func (o ContextRuleArrayOutput) ToContextRuleArrayOutputWithContext(ctx context.Context) ContextRuleArrayOutput
- type ContextRuleInput
- type ContextRuleOutput
- func (o ContextRuleOutput) AllowedRequestExtensions() pulumi.StringArrayOutput
- func (o ContextRuleOutput) AllowedResponseExtensions() pulumi.StringArrayOutput
- func (ContextRuleOutput) ElementType() reflect.Type
- func (o ContextRuleOutput) Provided() pulumi.StringArrayOutput
- func (o ContextRuleOutput) Requested() pulumi.StringArrayOutput
- func (o ContextRuleOutput) Selector() pulumi.StringPtrOutput
- func (o ContextRuleOutput) ToContextRuleOutput() ContextRuleOutput
- func (o ContextRuleOutput) ToContextRuleOutputWithContext(ctx context.Context) ContextRuleOutput
- type ContextRuleResponse
- type ContextRuleResponseArgs
- type ContextRuleResponseArray
- type ContextRuleResponseArrayInput
- type ContextRuleResponseArrayOutput
- func (ContextRuleResponseArrayOutput) ElementType() reflect.Type
- func (o ContextRuleResponseArrayOutput) Index(i pulumi.IntInput) ContextRuleResponseOutput
- func (o ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutput() ContextRuleResponseArrayOutput
- func (o ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutputWithContext(ctx context.Context) ContextRuleResponseArrayOutput
- type ContextRuleResponseInput
- type ContextRuleResponseOutput
- func (o ContextRuleResponseOutput) AllowedRequestExtensions() pulumi.StringArrayOutput
- func (o ContextRuleResponseOutput) AllowedResponseExtensions() pulumi.StringArrayOutput
- func (ContextRuleResponseOutput) ElementType() reflect.Type
- func (o ContextRuleResponseOutput) Provided() pulumi.StringArrayOutput
- func (o ContextRuleResponseOutput) Requested() pulumi.StringArrayOutput
- func (o ContextRuleResponseOutput) Selector() pulumi.StringOutput
- func (o ContextRuleResponseOutput) ToContextRuleResponseOutput() ContextRuleResponseOutput
- func (o ContextRuleResponseOutput) ToContextRuleResponseOutputWithContext(ctx context.Context) ContextRuleResponseOutput
- type Control
- type ControlArgs
- func (ControlArgs) ElementType() reflect.Type
- func (i ControlArgs) ToControlOutput() ControlOutput
- func (i ControlArgs) ToControlOutputWithContext(ctx context.Context) ControlOutput
- func (i ControlArgs) ToControlPtrOutput() ControlPtrOutput
- func (i ControlArgs) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
- type ControlInput
- type ControlOutput
- func (ControlOutput) ElementType() reflect.Type
- func (o ControlOutput) Environment() pulumi.StringPtrOutput
- func (o ControlOutput) ToControlOutput() ControlOutput
- func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOutput
- func (o ControlOutput) ToControlPtrOutput() ControlPtrOutput
- func (o ControlOutput) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
- type ControlPtrInput
- type ControlPtrOutput
- func (o ControlPtrOutput) Elem() ControlOutput
- func (ControlPtrOutput) ElementType() reflect.Type
- func (o ControlPtrOutput) Environment() pulumi.StringPtrOutput
- func (o ControlPtrOutput) ToControlPtrOutput() ControlPtrOutput
- func (o ControlPtrOutput) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
- type ControlResponse
- type ControlResponseArgs
- func (ControlResponseArgs) ElementType() reflect.Type
- func (i ControlResponseArgs) ToControlResponseOutput() ControlResponseOutput
- func (i ControlResponseArgs) ToControlResponseOutputWithContext(ctx context.Context) ControlResponseOutput
- func (i ControlResponseArgs) ToControlResponsePtrOutput() ControlResponsePtrOutput
- func (i ControlResponseArgs) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
- type ControlResponseInput
- type ControlResponseOutput
- func (ControlResponseOutput) ElementType() reflect.Type
- func (o ControlResponseOutput) Environment() pulumi.StringOutput
- func (o ControlResponseOutput) ToControlResponseOutput() ControlResponseOutput
- func (o ControlResponseOutput) ToControlResponseOutputWithContext(ctx context.Context) ControlResponseOutput
- func (o ControlResponseOutput) ToControlResponsePtrOutput() ControlResponsePtrOutput
- func (o ControlResponseOutput) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
- type ControlResponsePtrInput
- type ControlResponsePtrOutput
- func (o ControlResponsePtrOutput) Elem() ControlResponseOutput
- func (ControlResponsePtrOutput) ElementType() reflect.Type
- func (o ControlResponsePtrOutput) Environment() pulumi.StringPtrOutput
- func (o ControlResponsePtrOutput) ToControlResponsePtrOutput() ControlResponsePtrOutput
- func (o ControlResponsePtrOutput) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
- type CustomError
- type CustomErrorArgs
- func (CustomErrorArgs) ElementType() reflect.Type
- func (i CustomErrorArgs) ToCustomErrorOutput() CustomErrorOutput
- func (i CustomErrorArgs) ToCustomErrorOutputWithContext(ctx context.Context) CustomErrorOutput
- func (i CustomErrorArgs) ToCustomErrorPtrOutput() CustomErrorPtrOutput
- func (i CustomErrorArgs) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
- type CustomErrorInput
- type CustomErrorOutput
- func (CustomErrorOutput) ElementType() reflect.Type
- func (o CustomErrorOutput) Rules() CustomErrorRuleArrayOutput
- func (o CustomErrorOutput) ToCustomErrorOutput() CustomErrorOutput
- func (o CustomErrorOutput) ToCustomErrorOutputWithContext(ctx context.Context) CustomErrorOutput
- func (o CustomErrorOutput) ToCustomErrorPtrOutput() CustomErrorPtrOutput
- func (o CustomErrorOutput) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
- func (o CustomErrorOutput) Types() pulumi.StringArrayOutput
- type CustomErrorPtrInput
- type CustomErrorPtrOutput
- func (o CustomErrorPtrOutput) Elem() CustomErrorOutput
- func (CustomErrorPtrOutput) ElementType() reflect.Type
- func (o CustomErrorPtrOutput) Rules() CustomErrorRuleArrayOutput
- func (o CustomErrorPtrOutput) ToCustomErrorPtrOutput() CustomErrorPtrOutput
- func (o CustomErrorPtrOutput) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
- func (o CustomErrorPtrOutput) Types() pulumi.StringArrayOutput
- type CustomErrorResponse
- type CustomErrorResponseArgs
- func (CustomErrorResponseArgs) ElementType() reflect.Type
- func (i CustomErrorResponseArgs) ToCustomErrorResponseOutput() CustomErrorResponseOutput
- func (i CustomErrorResponseArgs) ToCustomErrorResponseOutputWithContext(ctx context.Context) CustomErrorResponseOutput
- func (i CustomErrorResponseArgs) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
- func (i CustomErrorResponseArgs) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
- type CustomErrorResponseInput
- type CustomErrorResponseOutput
- func (CustomErrorResponseOutput) ElementType() reflect.Type
- func (o CustomErrorResponseOutput) Rules() CustomErrorRuleResponseArrayOutput
- func (o CustomErrorResponseOutput) ToCustomErrorResponseOutput() CustomErrorResponseOutput
- func (o CustomErrorResponseOutput) ToCustomErrorResponseOutputWithContext(ctx context.Context) CustomErrorResponseOutput
- func (o CustomErrorResponseOutput) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
- func (o CustomErrorResponseOutput) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
- func (o CustomErrorResponseOutput) Types() pulumi.StringArrayOutput
- type CustomErrorResponsePtrInput
- type CustomErrorResponsePtrOutput
- func (o CustomErrorResponsePtrOutput) Elem() CustomErrorResponseOutput
- func (CustomErrorResponsePtrOutput) ElementType() reflect.Type
- func (o CustomErrorResponsePtrOutput) Rules() CustomErrorRuleResponseArrayOutput
- func (o CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
- func (o CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
- func (o CustomErrorResponsePtrOutput) Types() pulumi.StringArrayOutput
- type CustomErrorRule
- type CustomErrorRuleArgs
- type CustomErrorRuleArray
- type CustomErrorRuleArrayInput
- type CustomErrorRuleArrayOutput
- func (CustomErrorRuleArrayOutput) ElementType() reflect.Type
- func (o CustomErrorRuleArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleOutput
- func (o CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutput() CustomErrorRuleArrayOutput
- func (o CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutputWithContext(ctx context.Context) CustomErrorRuleArrayOutput
- type CustomErrorRuleInput
- type CustomErrorRuleOutput
- func (CustomErrorRuleOutput) ElementType() reflect.Type
- func (o CustomErrorRuleOutput) IsErrorType() pulumi.BoolPtrOutput
- func (o CustomErrorRuleOutput) Selector() pulumi.StringPtrOutput
- func (o CustomErrorRuleOutput) ToCustomErrorRuleOutput() CustomErrorRuleOutput
- func (o CustomErrorRuleOutput) ToCustomErrorRuleOutputWithContext(ctx context.Context) CustomErrorRuleOutput
- type CustomErrorRuleResponse
- type CustomErrorRuleResponseArgs
- type CustomErrorRuleResponseArray
- func (CustomErrorRuleResponseArray) ElementType() reflect.Type
- func (i CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutput() CustomErrorRuleResponseArrayOutput
- func (i CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutputWithContext(ctx context.Context) CustomErrorRuleResponseArrayOutput
- type CustomErrorRuleResponseArrayInput
- type CustomErrorRuleResponseArrayOutput
- func (CustomErrorRuleResponseArrayOutput) ElementType() reflect.Type
- func (o CustomErrorRuleResponseArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleResponseOutput
- func (o CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutput() CustomErrorRuleResponseArrayOutput
- func (o CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutputWithContext(ctx context.Context) CustomErrorRuleResponseArrayOutput
- type CustomErrorRuleResponseInput
- type CustomErrorRuleResponseOutput
- func (CustomErrorRuleResponseOutput) ElementType() reflect.Type
- func (o CustomErrorRuleResponseOutput) IsErrorType() pulumi.BoolOutput
- func (o CustomErrorRuleResponseOutput) Selector() pulumi.StringOutput
- func (o CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutput() CustomErrorRuleResponseOutput
- func (o CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutputWithContext(ctx context.Context) CustomErrorRuleResponseOutput
- type CustomHttpPattern
- type CustomHttpPatternArgs
- func (CustomHttpPatternArgs) ElementType() reflect.Type
- func (i CustomHttpPatternArgs) ToCustomHttpPatternOutput() CustomHttpPatternOutput
- func (i CustomHttpPatternArgs) ToCustomHttpPatternOutputWithContext(ctx context.Context) CustomHttpPatternOutput
- func (i CustomHttpPatternArgs) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
- func (i CustomHttpPatternArgs) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
- type CustomHttpPatternInput
- type CustomHttpPatternOutput
- func (CustomHttpPatternOutput) ElementType() reflect.Type
- func (o CustomHttpPatternOutput) Kind() pulumi.StringPtrOutput
- func (o CustomHttpPatternOutput) Path() pulumi.StringPtrOutput
- func (o CustomHttpPatternOutput) ToCustomHttpPatternOutput() CustomHttpPatternOutput
- func (o CustomHttpPatternOutput) ToCustomHttpPatternOutputWithContext(ctx context.Context) CustomHttpPatternOutput
- func (o CustomHttpPatternOutput) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
- func (o CustomHttpPatternOutput) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
- type CustomHttpPatternPtrInput
- type CustomHttpPatternPtrOutput
- func (o CustomHttpPatternPtrOutput) Elem() CustomHttpPatternOutput
- func (CustomHttpPatternPtrOutput) ElementType() reflect.Type
- func (o CustomHttpPatternPtrOutput) Kind() pulumi.StringPtrOutput
- func (o CustomHttpPatternPtrOutput) Path() pulumi.StringPtrOutput
- func (o CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
- func (o CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
- type CustomHttpPatternResponse
- type CustomHttpPatternResponseArgs
- func (CustomHttpPatternResponseArgs) ElementType() reflect.Type
- func (i CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutput() CustomHttpPatternResponseOutput
- func (i CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutputWithContext(ctx context.Context) CustomHttpPatternResponseOutput
- type CustomHttpPatternResponseInput
- type CustomHttpPatternResponseOutput
- func (CustomHttpPatternResponseOutput) ElementType() reflect.Type
- func (o CustomHttpPatternResponseOutput) Kind() pulumi.StringOutput
- func (o CustomHttpPatternResponseOutput) Path() pulumi.StringOutput
- func (o CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutput() CustomHttpPatternResponseOutput
- func (o CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutputWithContext(ctx context.Context) CustomHttpPatternResponseOutput
- type DeleteServiceStrategy
- type DeleteServiceStrategyArgs
- func (DeleteServiceStrategyArgs) ElementType() reflect.Type
- func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutput() DeleteServiceStrategyOutput
- func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutputWithContext(ctx context.Context) DeleteServiceStrategyOutput
- func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
- func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
- type DeleteServiceStrategyInput
- type DeleteServiceStrategyOutput
- func (DeleteServiceStrategyOutput) ElementType() reflect.Type
- func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutput() DeleteServiceStrategyOutput
- func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutputWithContext(ctx context.Context) DeleteServiceStrategyOutput
- func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
- func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
- type DeleteServiceStrategyPtrInput
- type DeleteServiceStrategyPtrOutput
- func (o DeleteServiceStrategyPtrOutput) Elem() DeleteServiceStrategyOutput
- func (DeleteServiceStrategyPtrOutput) ElementType() reflect.Type
- func (o DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
- func (o DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
- type DeleteServiceStrategyResponse
- type DeleteServiceStrategyResponseArgs
- func (DeleteServiceStrategyResponseArgs) ElementType() reflect.Type
- func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutput() DeleteServiceStrategyResponseOutput
- func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutputWithContext(ctx context.Context) DeleteServiceStrategyResponseOutput
- func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
- func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
- type DeleteServiceStrategyResponseInput
- type DeleteServiceStrategyResponseOutput
- func (DeleteServiceStrategyResponseOutput) ElementType() reflect.Type
- func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutput() DeleteServiceStrategyResponseOutput
- func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutputWithContext(ctx context.Context) DeleteServiceStrategyResponseOutput
- func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
- func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
- type DeleteServiceStrategyResponsePtrInput
- type DeleteServiceStrategyResponsePtrOutput
- func (o DeleteServiceStrategyResponsePtrOutput) Elem() DeleteServiceStrategyResponseOutput
- func (DeleteServiceStrategyResponsePtrOutput) ElementType() reflect.Type
- func (o DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
- func (o DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
- type Documentation
- type DocumentationArgs
- func (DocumentationArgs) ElementType() reflect.Type
- func (i DocumentationArgs) ToDocumentationOutput() DocumentationOutput
- func (i DocumentationArgs) ToDocumentationOutputWithContext(ctx context.Context) DocumentationOutput
- func (i DocumentationArgs) ToDocumentationPtrOutput() DocumentationPtrOutput
- func (i DocumentationArgs) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
- type DocumentationInput
- type DocumentationOutput
- func (o DocumentationOutput) DocumentationRootUrl() pulumi.StringPtrOutput
- func (DocumentationOutput) ElementType() reflect.Type
- func (o DocumentationOutput) Overview() pulumi.StringPtrOutput
- func (o DocumentationOutput) Pages() PageArrayOutput
- func (o DocumentationOutput) Rules() DocumentationRuleArrayOutput
- func (o DocumentationOutput) ServiceRootUrl() pulumi.StringPtrOutput
- func (o DocumentationOutput) Summary() pulumi.StringPtrOutput
- func (o DocumentationOutput) ToDocumentationOutput() DocumentationOutput
- func (o DocumentationOutput) ToDocumentationOutputWithContext(ctx context.Context) DocumentationOutput
- func (o DocumentationOutput) ToDocumentationPtrOutput() DocumentationPtrOutput
- func (o DocumentationOutput) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
- type DocumentationPtrInput
- type DocumentationPtrOutput
- func (o DocumentationPtrOutput) DocumentationRootUrl() pulumi.StringPtrOutput
- func (o DocumentationPtrOutput) Elem() DocumentationOutput
- func (DocumentationPtrOutput) ElementType() reflect.Type
- func (o DocumentationPtrOutput) Overview() pulumi.StringPtrOutput
- func (o DocumentationPtrOutput) Pages() PageArrayOutput
- func (o DocumentationPtrOutput) Rules() DocumentationRuleArrayOutput
- func (o DocumentationPtrOutput) ServiceRootUrl() pulumi.StringPtrOutput
- func (o DocumentationPtrOutput) Summary() pulumi.StringPtrOutput
- func (o DocumentationPtrOutput) ToDocumentationPtrOutput() DocumentationPtrOutput
- func (o DocumentationPtrOutput) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
- type DocumentationResponse
- type DocumentationResponseArgs
- func (DocumentationResponseArgs) ElementType() reflect.Type
- func (i DocumentationResponseArgs) ToDocumentationResponseOutput() DocumentationResponseOutput
- func (i DocumentationResponseArgs) ToDocumentationResponseOutputWithContext(ctx context.Context) DocumentationResponseOutput
- func (i DocumentationResponseArgs) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
- func (i DocumentationResponseArgs) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
- type DocumentationResponseInput
- type DocumentationResponseOutput
- func (o DocumentationResponseOutput) DocumentationRootUrl() pulumi.StringOutput
- func (DocumentationResponseOutput) ElementType() reflect.Type
- func (o DocumentationResponseOutput) Overview() pulumi.StringOutput
- func (o DocumentationResponseOutput) Pages() PageResponseArrayOutput
- func (o DocumentationResponseOutput) Rules() DocumentationRuleResponseArrayOutput
- func (o DocumentationResponseOutput) ServiceRootUrl() pulumi.StringOutput
- func (o DocumentationResponseOutput) Summary() pulumi.StringOutput
- func (o DocumentationResponseOutput) ToDocumentationResponseOutput() DocumentationResponseOutput
- func (o DocumentationResponseOutput) ToDocumentationResponseOutputWithContext(ctx context.Context) DocumentationResponseOutput
- func (o DocumentationResponseOutput) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
- func (o DocumentationResponseOutput) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
- type DocumentationResponsePtrInput
- type DocumentationResponsePtrOutput
- func (o DocumentationResponsePtrOutput) DocumentationRootUrl() pulumi.StringPtrOutput
- func (o DocumentationResponsePtrOutput) Elem() DocumentationResponseOutput
- func (DocumentationResponsePtrOutput) ElementType() reflect.Type
- func (o DocumentationResponsePtrOutput) Overview() pulumi.StringPtrOutput
- func (o DocumentationResponsePtrOutput) Pages() PageResponseArrayOutput
- func (o DocumentationResponsePtrOutput) Rules() DocumentationRuleResponseArrayOutput
- func (o DocumentationResponsePtrOutput) ServiceRootUrl() pulumi.StringPtrOutput
- func (o DocumentationResponsePtrOutput) Summary() pulumi.StringPtrOutput
- func (o DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
- func (o DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
- type DocumentationRule
- type DocumentationRuleArgs
- type DocumentationRuleArray
- type DocumentationRuleArrayInput
- type DocumentationRuleArrayOutput
- func (DocumentationRuleArrayOutput) ElementType() reflect.Type
- func (o DocumentationRuleArrayOutput) Index(i pulumi.IntInput) DocumentationRuleOutput
- func (o DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutput() DocumentationRuleArrayOutput
- func (o DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutputWithContext(ctx context.Context) DocumentationRuleArrayOutput
- type DocumentationRuleInput
- type DocumentationRuleOutput
- func (o DocumentationRuleOutput) DeprecationDescription() pulumi.StringPtrOutput
- func (o DocumentationRuleOutput) Description() pulumi.StringPtrOutput
- func (DocumentationRuleOutput) ElementType() reflect.Type
- func (o DocumentationRuleOutput) Selector() pulumi.StringPtrOutput
- func (o DocumentationRuleOutput) ToDocumentationRuleOutput() DocumentationRuleOutput
- func (o DocumentationRuleOutput) ToDocumentationRuleOutputWithContext(ctx context.Context) DocumentationRuleOutput
- type DocumentationRuleResponse
- type DocumentationRuleResponseArgs
- func (DocumentationRuleResponseArgs) ElementType() reflect.Type
- func (i DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutput() DocumentationRuleResponseOutput
- func (i DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutputWithContext(ctx context.Context) DocumentationRuleResponseOutput
- type DocumentationRuleResponseArray
- func (DocumentationRuleResponseArray) ElementType() reflect.Type
- func (i DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutput() DocumentationRuleResponseArrayOutput
- func (i DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutputWithContext(ctx context.Context) DocumentationRuleResponseArrayOutput
- type DocumentationRuleResponseArrayInput
- type DocumentationRuleResponseArrayOutput
- func (DocumentationRuleResponseArrayOutput) ElementType() reflect.Type
- func (o DocumentationRuleResponseArrayOutput) Index(i pulumi.IntInput) DocumentationRuleResponseOutput
- func (o DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutput() DocumentationRuleResponseArrayOutput
- func (o DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutputWithContext(ctx context.Context) DocumentationRuleResponseArrayOutput
- type DocumentationRuleResponseInput
- type DocumentationRuleResponseOutput
- func (o DocumentationRuleResponseOutput) DeprecationDescription() pulumi.StringOutput
- func (o DocumentationRuleResponseOutput) Description() pulumi.StringOutput
- func (DocumentationRuleResponseOutput) ElementType() reflect.Type
- func (o DocumentationRuleResponseOutput) Selector() pulumi.StringOutput
- func (o DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutput() DocumentationRuleResponseOutput
- func (o DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutputWithContext(ctx context.Context) DocumentationRuleResponseOutput
- type Endpoint
- type EndpointArgs
- type EndpointArray
- type EndpointArrayInput
- type EndpointArrayOutput
- type EndpointInput
- type EndpointOutput
- func (o EndpointOutput) AllowCors() pulumi.BoolPtrOutput
- func (EndpointOutput) ElementType() reflect.Type
- func (o EndpointOutput) Name() pulumi.StringPtrOutput
- func (o EndpointOutput) Target() pulumi.StringPtrOutput
- func (o EndpointOutput) ToEndpointOutput() EndpointOutput
- func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
- type EndpointResponse
- type EndpointResponseArgs
- type EndpointResponseArray
- type EndpointResponseArrayInput
- type EndpointResponseArrayOutput
- func (EndpointResponseArrayOutput) ElementType() reflect.Type
- func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput
- func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
- func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
- type EndpointResponseInput
- type EndpointResponseOutput
- func (o EndpointResponseOutput) AllowCors() pulumi.BoolOutput
- func (EndpointResponseOutput) ElementType() reflect.Type
- func (o EndpointResponseOutput) Name() pulumi.StringOutput
- func (o EndpointResponseOutput) Target() pulumi.StringOutput
- func (o EndpointResponseOutput) ToEndpointResponseOutput() EndpointResponseOutput
- func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
- type Enum
- type EnumArgs
- type EnumArray
- type EnumArrayInput
- type EnumArrayOutput
- type EnumInput
- type EnumOutput
- func (EnumOutput) ElementType() reflect.Type
- func (o EnumOutput) Enumvalue() EnumValueArrayOutput
- func (o EnumOutput) Name() pulumi.StringPtrOutput
- func (o EnumOutput) Options() OptionArrayOutput
- func (o EnumOutput) SourceContext() SourceContextPtrOutput
- func (o EnumOutput) Syntax() pulumi.StringPtrOutput
- func (o EnumOutput) ToEnumOutput() EnumOutput
- func (o EnumOutput) ToEnumOutputWithContext(ctx context.Context) EnumOutput
- type EnumResponse
- type EnumResponseArgs
- type EnumResponseArray
- type EnumResponseArrayInput
- type EnumResponseArrayOutput
- func (EnumResponseArrayOutput) ElementType() reflect.Type
- func (o EnumResponseArrayOutput) Index(i pulumi.IntInput) EnumResponseOutput
- func (o EnumResponseArrayOutput) ToEnumResponseArrayOutput() EnumResponseArrayOutput
- func (o EnumResponseArrayOutput) ToEnumResponseArrayOutputWithContext(ctx context.Context) EnumResponseArrayOutput
- type EnumResponseInput
- type EnumResponseOutput
- func (EnumResponseOutput) ElementType() reflect.Type
- func (o EnumResponseOutput) Enumvalue() EnumValueResponseArrayOutput
- func (o EnumResponseOutput) Name() pulumi.StringOutput
- func (o EnumResponseOutput) Options() OptionResponseArrayOutput
- func (o EnumResponseOutput) SourceContext() SourceContextResponseOutput
- func (o EnumResponseOutput) Syntax() pulumi.StringOutput
- func (o EnumResponseOutput) ToEnumResponseOutput() EnumResponseOutput
- func (o EnumResponseOutput) ToEnumResponseOutputWithContext(ctx context.Context) EnumResponseOutput
- type EnumValue
- type EnumValueArgs
- type EnumValueArray
- type EnumValueArrayInput
- type EnumValueArrayOutput
- func (EnumValueArrayOutput) ElementType() reflect.Type
- func (o EnumValueArrayOutput) Index(i pulumi.IntInput) EnumValueOutput
- func (o EnumValueArrayOutput) ToEnumValueArrayOutput() EnumValueArrayOutput
- func (o EnumValueArrayOutput) ToEnumValueArrayOutputWithContext(ctx context.Context) EnumValueArrayOutput
- type EnumValueInput
- type EnumValueOutput
- func (EnumValueOutput) ElementType() reflect.Type
- func (o EnumValueOutput) Name() pulumi.StringPtrOutput
- func (o EnumValueOutput) Number() pulumi.IntPtrOutput
- func (o EnumValueOutput) Options() OptionArrayOutput
- func (o EnumValueOutput) ToEnumValueOutput() EnumValueOutput
- func (o EnumValueOutput) ToEnumValueOutputWithContext(ctx context.Context) EnumValueOutput
- type EnumValueResponse
- type EnumValueResponseArgs
- type EnumValueResponseArray
- type EnumValueResponseArrayInput
- type EnumValueResponseArrayOutput
- func (EnumValueResponseArrayOutput) ElementType() reflect.Type
- func (o EnumValueResponseArrayOutput) Index(i pulumi.IntInput) EnumValueResponseOutput
- func (o EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutput() EnumValueResponseArrayOutput
- func (o EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutputWithContext(ctx context.Context) EnumValueResponseArrayOutput
- type EnumValueResponseInput
- type EnumValueResponseOutput
- func (EnumValueResponseOutput) ElementType() reflect.Type
- func (o EnumValueResponseOutput) Name() pulumi.StringOutput
- func (o EnumValueResponseOutput) Number() pulumi.IntOutput
- func (o EnumValueResponseOutput) Options() OptionResponseArrayOutput
- func (o EnumValueResponseOutput) ToEnumValueResponseOutput() EnumValueResponseOutput
- func (o EnumValueResponseOutput) ToEnumValueResponseOutputWithContext(ctx context.Context) EnumValueResponseOutput
- type Expr
- type ExprArgs
- type ExprInput
- type ExprOutput
- func (o ExprOutput) Description() pulumi.StringPtrOutput
- func (ExprOutput) ElementType() reflect.Type
- func (o ExprOutput) Expression() pulumi.StringPtrOutput
- func (o ExprOutput) Location() pulumi.StringPtrOutput
- func (o ExprOutput) Title() pulumi.StringPtrOutput
- func (o ExprOutput) ToExprOutput() ExprOutput
- func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
- func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprPtrInput
- type ExprPtrOutput
- func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Elem() ExprOutput
- func (ExprPtrOutput) ElementType() reflect.Type
- func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
- func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
- func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
- type ExprResponse
- type ExprResponseArgs
- type ExprResponseInput
- type ExprResponseOutput
- func (o ExprResponseOutput) Description() pulumi.StringOutput
- func (ExprResponseOutput) ElementType() reflect.Type
- func (o ExprResponseOutput) Expression() pulumi.StringOutput
- func (o ExprResponseOutput) Location() pulumi.StringOutput
- func (o ExprResponseOutput) Title() pulumi.StringOutput
- func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
- func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
- type Field
- type FieldArgs
- type FieldArray
- type FieldArrayInput
- type FieldArrayOutput
- type FieldInput
- type FieldOutput
- func (o FieldOutput) Cardinality() pulumi.StringPtrOutput
- func (o FieldOutput) DefaultValue() pulumi.StringPtrOutput
- func (FieldOutput) ElementType() reflect.Type
- func (o FieldOutput) JsonName() pulumi.StringPtrOutput
- func (o FieldOutput) Kind() pulumi.StringPtrOutput
- func (o FieldOutput) Name() pulumi.StringPtrOutput
- func (o FieldOutput) Number() pulumi.IntPtrOutput
- func (o FieldOutput) OneofIndex() pulumi.IntPtrOutput
- func (o FieldOutput) Options() OptionArrayOutput
- func (o FieldOutput) Packed() pulumi.BoolPtrOutput
- func (o FieldOutput) ToFieldOutput() FieldOutput
- func (o FieldOutput) ToFieldOutputWithContext(ctx context.Context) FieldOutput
- func (o FieldOutput) TypeUrl() pulumi.StringPtrOutput
- type FieldResponse
- type FieldResponseArgs
- type FieldResponseArray
- type FieldResponseArrayInput
- type FieldResponseArrayOutput
- func (FieldResponseArrayOutput) ElementType() reflect.Type
- func (o FieldResponseArrayOutput) Index(i pulumi.IntInput) FieldResponseOutput
- func (o FieldResponseArrayOutput) ToFieldResponseArrayOutput() FieldResponseArrayOutput
- func (o FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext(ctx context.Context) FieldResponseArrayOutput
- type FieldResponseInput
- type FieldResponseOutput
- func (o FieldResponseOutput) Cardinality() pulumi.StringOutput
- func (o FieldResponseOutput) DefaultValue() pulumi.StringOutput
- func (FieldResponseOutput) ElementType() reflect.Type
- func (o FieldResponseOutput) JsonName() pulumi.StringOutput
- func (o FieldResponseOutput) Kind() pulumi.StringOutput
- func (o FieldResponseOutput) Name() pulumi.StringOutput
- func (o FieldResponseOutput) Number() pulumi.IntOutput
- func (o FieldResponseOutput) OneofIndex() pulumi.IntOutput
- func (o FieldResponseOutput) Options() OptionResponseArrayOutput
- func (o FieldResponseOutput) Packed() pulumi.BoolOutput
- func (o FieldResponseOutput) ToFieldResponseOutput() FieldResponseOutput
- func (o FieldResponseOutput) ToFieldResponseOutputWithContext(ctx context.Context) FieldResponseOutput
- func (o FieldResponseOutput) TypeUrl() pulumi.StringOutput
- type Http
- type HttpArgs
- type HttpInput
- type HttpOutput
- func (HttpOutput) ElementType() reflect.Type
- func (o HttpOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
- func (o HttpOutput) Rules() HttpRuleArrayOutput
- func (o HttpOutput) ToHttpOutput() HttpOutput
- func (o HttpOutput) ToHttpOutputWithContext(ctx context.Context) HttpOutput
- func (o HttpOutput) ToHttpPtrOutput() HttpPtrOutput
- func (o HttpOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutput
- type HttpPtrInput
- type HttpPtrOutput
- func (o HttpPtrOutput) Elem() HttpOutput
- func (HttpPtrOutput) ElementType() reflect.Type
- func (o HttpPtrOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
- func (o HttpPtrOutput) Rules() HttpRuleArrayOutput
- func (o HttpPtrOutput) ToHttpPtrOutput() HttpPtrOutput
- func (o HttpPtrOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutput
- type HttpResponse
- type HttpResponseArgs
- func (HttpResponseArgs) ElementType() reflect.Type
- func (i HttpResponseArgs) ToHttpResponseOutput() HttpResponseOutput
- func (i HttpResponseArgs) ToHttpResponseOutputWithContext(ctx context.Context) HttpResponseOutput
- func (i HttpResponseArgs) ToHttpResponsePtrOutput() HttpResponsePtrOutput
- func (i HttpResponseArgs) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
- type HttpResponseInput
- type HttpResponseOutput
- func (HttpResponseOutput) ElementType() reflect.Type
- func (o HttpResponseOutput) FullyDecodeReservedExpansion() pulumi.BoolOutput
- func (o HttpResponseOutput) Rules() HttpRuleResponseArrayOutput
- func (o HttpResponseOutput) ToHttpResponseOutput() HttpResponseOutput
- func (o HttpResponseOutput) ToHttpResponseOutputWithContext(ctx context.Context) HttpResponseOutput
- func (o HttpResponseOutput) ToHttpResponsePtrOutput() HttpResponsePtrOutput
- func (o HttpResponseOutput) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
- type HttpResponsePtrInput
- type HttpResponsePtrOutput
- func (o HttpResponsePtrOutput) Elem() HttpResponseOutput
- func (HttpResponsePtrOutput) ElementType() reflect.Type
- func (o HttpResponsePtrOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
- func (o HttpResponsePtrOutput) Rules() HttpRuleResponseArrayOutput
- func (o HttpResponsePtrOutput) ToHttpResponsePtrOutput() HttpResponsePtrOutput
- func (o HttpResponsePtrOutput) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
- type HttpRule
- type HttpRuleArgs
- type HttpRuleArray
- type HttpRuleArrayInput
- type HttpRuleArrayOutput
- type HttpRuleInput
- type HttpRuleOutput
- func (o HttpRuleOutput) AdditionalBindings() HttpRuleArrayOutput
- func (o HttpRuleOutput) Body() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Custom() CustomHttpPatternPtrOutput
- func (o HttpRuleOutput) Delete() pulumi.StringPtrOutput
- func (HttpRuleOutput) ElementType() reflect.Type
- func (o HttpRuleOutput) Get() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Patch() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Post() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Put() pulumi.StringPtrOutput
- func (o HttpRuleOutput) ResponseBody() pulumi.StringPtrOutput
- func (o HttpRuleOutput) Selector() pulumi.StringPtrOutput
- func (o HttpRuleOutput) ToHttpRuleOutput() HttpRuleOutput
- func (o HttpRuleOutput) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
- type HttpRuleResponse
- type HttpRuleResponseArgs
- type HttpRuleResponseArray
- type HttpRuleResponseArrayInput
- type HttpRuleResponseArrayOutput
- func (HttpRuleResponseArrayOutput) ElementType() reflect.Type
- func (o HttpRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRuleResponseOutput
- func (o HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutput() HttpRuleResponseArrayOutput
- func (o HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutputWithContext(ctx context.Context) HttpRuleResponseArrayOutput
- type HttpRuleResponseInput
- type HttpRuleResponseOutput
- func (o HttpRuleResponseOutput) AdditionalBindings() HttpRuleResponseArrayOutput
- func (o HttpRuleResponseOutput) Body() pulumi.StringOutput
- func (o HttpRuleResponseOutput) Custom() CustomHttpPatternResponseOutput
- func (o HttpRuleResponseOutput) Delete() pulumi.StringOutput
- func (HttpRuleResponseOutput) ElementType() reflect.Type
- func (o HttpRuleResponseOutput) Get() pulumi.StringOutput
- func (o HttpRuleResponseOutput) Patch() pulumi.StringOutput
- func (o HttpRuleResponseOutput) Post() pulumi.StringOutput
- func (o HttpRuleResponseOutput) Put() pulumi.StringOutput
- func (o HttpRuleResponseOutput) ResponseBody() pulumi.StringOutput
- func (o HttpRuleResponseOutput) Selector() pulumi.StringOutput
- func (o HttpRuleResponseOutput) ToHttpRuleResponseOutput() HttpRuleResponseOutput
- func (o HttpRuleResponseOutput) ToHttpRuleResponseOutputWithContext(ctx context.Context) HttpRuleResponseOutput
- type JwtLocation
- type JwtLocationArgs
- type JwtLocationArray
- type JwtLocationArrayInput
- type JwtLocationArrayOutput
- func (JwtLocationArrayOutput) ElementType() reflect.Type
- func (o JwtLocationArrayOutput) Index(i pulumi.IntInput) JwtLocationOutput
- func (o JwtLocationArrayOutput) ToJwtLocationArrayOutput() JwtLocationArrayOutput
- func (o JwtLocationArrayOutput) ToJwtLocationArrayOutputWithContext(ctx context.Context) JwtLocationArrayOutput
- type JwtLocationInput
- type JwtLocationOutput
- func (JwtLocationOutput) ElementType() reflect.Type
- func (o JwtLocationOutput) Header() pulumi.StringPtrOutput
- func (o JwtLocationOutput) Query() pulumi.StringPtrOutput
- func (o JwtLocationOutput) ToJwtLocationOutput() JwtLocationOutput
- func (o JwtLocationOutput) ToJwtLocationOutputWithContext(ctx context.Context) JwtLocationOutput
- func (o JwtLocationOutput) ValuePrefix() pulumi.StringPtrOutput
- type JwtLocationResponse
- type JwtLocationResponseArgs
- type JwtLocationResponseArray
- type JwtLocationResponseArrayInput
- type JwtLocationResponseArrayOutput
- func (JwtLocationResponseArrayOutput) ElementType() reflect.Type
- func (o JwtLocationResponseArrayOutput) Index(i pulumi.IntInput) JwtLocationResponseOutput
- func (o JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutput() JwtLocationResponseArrayOutput
- func (o JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutputWithContext(ctx context.Context) JwtLocationResponseArrayOutput
- type JwtLocationResponseInput
- type JwtLocationResponseOutput
- func (JwtLocationResponseOutput) ElementType() reflect.Type
- func (o JwtLocationResponseOutput) Header() pulumi.StringOutput
- func (o JwtLocationResponseOutput) Query() pulumi.StringOutput
- func (o JwtLocationResponseOutput) ToJwtLocationResponseOutput() JwtLocationResponseOutput
- func (o JwtLocationResponseOutput) ToJwtLocationResponseOutputWithContext(ctx context.Context) JwtLocationResponseOutput
- func (o JwtLocationResponseOutput) ValuePrefix() pulumi.StringOutput
- type LabelDescriptor
- type LabelDescriptorArgs
- type LabelDescriptorArray
- type LabelDescriptorArrayInput
- type LabelDescriptorArrayOutput
- func (LabelDescriptorArrayOutput) ElementType() reflect.Type
- func (o LabelDescriptorArrayOutput) Index(i pulumi.IntInput) LabelDescriptorOutput
- func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput
- func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx context.Context) LabelDescriptorArrayOutput
- type LabelDescriptorInput
- type LabelDescriptorOutput
- func (o LabelDescriptorOutput) Description() pulumi.StringPtrOutput
- func (LabelDescriptorOutput) ElementType() reflect.Type
- func (o LabelDescriptorOutput) Key() pulumi.StringPtrOutput
- func (o LabelDescriptorOutput) ToLabelDescriptorOutput() LabelDescriptorOutput
- func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Context) LabelDescriptorOutput
- func (o LabelDescriptorOutput) ValueType() pulumi.StringPtrOutput
- type LabelDescriptorResponse
- type LabelDescriptorResponseArgs
- type LabelDescriptorResponseArray
- func (LabelDescriptorResponseArray) ElementType() reflect.Type
- func (i LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput
- func (i LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutputWithContext(ctx context.Context) LabelDescriptorResponseArrayOutput
- type LabelDescriptorResponseArrayInput
- type LabelDescriptorResponseArrayOutput
- func (LabelDescriptorResponseArrayOutput) ElementType() reflect.Type
- func (o LabelDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LabelDescriptorResponseOutput
- func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput
- func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutputWithContext(ctx context.Context) LabelDescriptorResponseArrayOutput
- type LabelDescriptorResponseInput
- type LabelDescriptorResponseOutput
- func (o LabelDescriptorResponseOutput) Description() pulumi.StringOutput
- func (LabelDescriptorResponseOutput) ElementType() reflect.Type
- func (o LabelDescriptorResponseOutput) Key() pulumi.StringOutput
- func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutput() LabelDescriptorResponseOutput
- func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContext(ctx context.Context) LabelDescriptorResponseOutput
- func (o LabelDescriptorResponseOutput) ValueType() pulumi.StringOutput
- type LogDescriptor
- type LogDescriptorArgs
- type LogDescriptorArray
- type LogDescriptorArrayInput
- type LogDescriptorArrayOutput
- func (LogDescriptorArrayOutput) ElementType() reflect.Type
- func (o LogDescriptorArrayOutput) Index(i pulumi.IntInput) LogDescriptorOutput
- func (o LogDescriptorArrayOutput) ToLogDescriptorArrayOutput() LogDescriptorArrayOutput
- func (o LogDescriptorArrayOutput) ToLogDescriptorArrayOutputWithContext(ctx context.Context) LogDescriptorArrayOutput
- type LogDescriptorInput
- type LogDescriptorOutput
- func (o LogDescriptorOutput) Description() pulumi.StringPtrOutput
- func (o LogDescriptorOutput) DisplayName() pulumi.StringPtrOutput
- func (LogDescriptorOutput) ElementType() reflect.Type
- func (o LogDescriptorOutput) Labels() LabelDescriptorArrayOutput
- func (o LogDescriptorOutput) Name() pulumi.StringPtrOutput
- func (o LogDescriptorOutput) ToLogDescriptorOutput() LogDescriptorOutput
- func (o LogDescriptorOutput) ToLogDescriptorOutputWithContext(ctx context.Context) LogDescriptorOutput
- type LogDescriptorResponse
- type LogDescriptorResponseArgs
- type LogDescriptorResponseArray
- func (LogDescriptorResponseArray) ElementType() reflect.Type
- func (i LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutput() LogDescriptorResponseArrayOutput
- func (i LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutputWithContext(ctx context.Context) LogDescriptorResponseArrayOutput
- type LogDescriptorResponseArrayInput
- type LogDescriptorResponseArrayOutput
- func (LogDescriptorResponseArrayOutput) ElementType() reflect.Type
- func (o LogDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LogDescriptorResponseOutput
- func (o LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutput() LogDescriptorResponseArrayOutput
- func (o LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutputWithContext(ctx context.Context) LogDescriptorResponseArrayOutput
- type LogDescriptorResponseInput
- type LogDescriptorResponseOutput
- func (o LogDescriptorResponseOutput) Description() pulumi.StringOutput
- func (o LogDescriptorResponseOutput) DisplayName() pulumi.StringOutput
- func (LogDescriptorResponseOutput) ElementType() reflect.Type
- func (o LogDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
- func (o LogDescriptorResponseOutput) Name() pulumi.StringOutput
- func (o LogDescriptorResponseOutput) ToLogDescriptorResponseOutput() LogDescriptorResponseOutput
- func (o LogDescriptorResponseOutput) ToLogDescriptorResponseOutputWithContext(ctx context.Context) LogDescriptorResponseOutput
- type Logging
- type LoggingArgs
- func (LoggingArgs) ElementType() reflect.Type
- func (i LoggingArgs) ToLoggingOutput() LoggingOutput
- func (i LoggingArgs) ToLoggingOutputWithContext(ctx context.Context) LoggingOutput
- func (i LoggingArgs) ToLoggingPtrOutput() LoggingPtrOutput
- func (i LoggingArgs) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
- type LoggingDestination
- type LoggingDestinationArgs
- type LoggingDestinationArray
- type LoggingDestinationArrayInput
- type LoggingDestinationArrayOutput
- func (LoggingDestinationArrayOutput) ElementType() reflect.Type
- func (o LoggingDestinationArrayOutput) Index(i pulumi.IntInput) LoggingDestinationOutput
- func (o LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutput() LoggingDestinationArrayOutput
- func (o LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutputWithContext(ctx context.Context) LoggingDestinationArrayOutput
- type LoggingDestinationInput
- type LoggingDestinationOutput
- func (LoggingDestinationOutput) ElementType() reflect.Type
- func (o LoggingDestinationOutput) Logs() pulumi.StringArrayOutput
- func (o LoggingDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
- func (o LoggingDestinationOutput) ToLoggingDestinationOutput() LoggingDestinationOutput
- func (o LoggingDestinationOutput) ToLoggingDestinationOutputWithContext(ctx context.Context) LoggingDestinationOutput
- type LoggingDestinationResponse
- type LoggingDestinationResponseArgs
- func (LoggingDestinationResponseArgs) ElementType() reflect.Type
- func (i LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutput() LoggingDestinationResponseOutput
- func (i LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutputWithContext(ctx context.Context) LoggingDestinationResponseOutput
- type LoggingDestinationResponseArray
- func (LoggingDestinationResponseArray) ElementType() reflect.Type
- func (i LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutput() LoggingDestinationResponseArrayOutput
- func (i LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutputWithContext(ctx context.Context) LoggingDestinationResponseArrayOutput
- type LoggingDestinationResponseArrayInput
- type LoggingDestinationResponseArrayOutput
- func (LoggingDestinationResponseArrayOutput) ElementType() reflect.Type
- func (o LoggingDestinationResponseArrayOutput) Index(i pulumi.IntInput) LoggingDestinationResponseOutput
- func (o LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutput() LoggingDestinationResponseArrayOutput
- func (o LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutputWithContext(ctx context.Context) LoggingDestinationResponseArrayOutput
- type LoggingDestinationResponseInput
- type LoggingDestinationResponseOutput
- func (LoggingDestinationResponseOutput) ElementType() reflect.Type
- func (o LoggingDestinationResponseOutput) Logs() pulumi.StringArrayOutput
- func (o LoggingDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
- func (o LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutput() LoggingDestinationResponseOutput
- func (o LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutputWithContext(ctx context.Context) LoggingDestinationResponseOutput
- type LoggingInput
- type LoggingOutput
- func (o LoggingOutput) ConsumerDestinations() LoggingDestinationArrayOutput
- func (LoggingOutput) ElementType() reflect.Type
- func (o LoggingOutput) ProducerDestinations() LoggingDestinationArrayOutput
- func (o LoggingOutput) ToLoggingOutput() LoggingOutput
- func (o LoggingOutput) ToLoggingOutputWithContext(ctx context.Context) LoggingOutput
- func (o LoggingOutput) ToLoggingPtrOutput() LoggingPtrOutput
- func (o LoggingOutput) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
- type LoggingPtrInput
- type LoggingPtrOutput
- func (o LoggingPtrOutput) ConsumerDestinations() LoggingDestinationArrayOutput
- func (o LoggingPtrOutput) Elem() LoggingOutput
- func (LoggingPtrOutput) ElementType() reflect.Type
- func (o LoggingPtrOutput) ProducerDestinations() LoggingDestinationArrayOutput
- func (o LoggingPtrOutput) ToLoggingPtrOutput() LoggingPtrOutput
- func (o LoggingPtrOutput) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
- type LoggingResponse
- type LoggingResponseArgs
- func (LoggingResponseArgs) ElementType() reflect.Type
- func (i LoggingResponseArgs) ToLoggingResponseOutput() LoggingResponseOutput
- func (i LoggingResponseArgs) ToLoggingResponseOutputWithContext(ctx context.Context) LoggingResponseOutput
- func (i LoggingResponseArgs) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
- func (i LoggingResponseArgs) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
- type LoggingResponseInput
- type LoggingResponseOutput
- func (o LoggingResponseOutput) ConsumerDestinations() LoggingDestinationResponseArrayOutput
- func (LoggingResponseOutput) ElementType() reflect.Type
- func (o LoggingResponseOutput) ProducerDestinations() LoggingDestinationResponseArrayOutput
- func (o LoggingResponseOutput) ToLoggingResponseOutput() LoggingResponseOutput
- func (o LoggingResponseOutput) ToLoggingResponseOutputWithContext(ctx context.Context) LoggingResponseOutput
- func (o LoggingResponseOutput) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
- func (o LoggingResponseOutput) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
- type LoggingResponsePtrInput
- type LoggingResponsePtrOutput
- func (o LoggingResponsePtrOutput) ConsumerDestinations() LoggingDestinationResponseArrayOutput
- func (o LoggingResponsePtrOutput) Elem() LoggingResponseOutput
- func (LoggingResponsePtrOutput) ElementType() reflect.Type
- func (o LoggingResponsePtrOutput) ProducerDestinations() LoggingDestinationResponseArrayOutput
- func (o LoggingResponsePtrOutput) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
- func (o LoggingResponsePtrOutput) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
- type Method
- type MethodArgs
- type MethodArray
- type MethodArrayInput
- type MethodArrayOutput
- type MethodInput
- type MethodOutput
- func (MethodOutput) ElementType() reflect.Type
- func (o MethodOutput) Name() pulumi.StringPtrOutput
- func (o MethodOutput) Options() OptionArrayOutput
- func (o MethodOutput) RequestStreaming() pulumi.BoolPtrOutput
- func (o MethodOutput) RequestTypeUrl() pulumi.StringPtrOutput
- func (o MethodOutput) ResponseStreaming() pulumi.BoolPtrOutput
- func (o MethodOutput) ResponseTypeUrl() pulumi.StringPtrOutput
- func (o MethodOutput) Syntax() pulumi.StringPtrOutput
- func (o MethodOutput) ToMethodOutput() MethodOutput
- func (o MethodOutput) ToMethodOutputWithContext(ctx context.Context) MethodOutput
- type MethodResponse
- type MethodResponseArgs
- type MethodResponseArray
- type MethodResponseArrayInput
- type MethodResponseArrayOutput
- func (MethodResponseArrayOutput) ElementType() reflect.Type
- func (o MethodResponseArrayOutput) Index(i pulumi.IntInput) MethodResponseOutput
- func (o MethodResponseArrayOutput) ToMethodResponseArrayOutput() MethodResponseArrayOutput
- func (o MethodResponseArrayOutput) ToMethodResponseArrayOutputWithContext(ctx context.Context) MethodResponseArrayOutput
- type MethodResponseInput
- type MethodResponseOutput
- func (MethodResponseOutput) ElementType() reflect.Type
- func (o MethodResponseOutput) Name() pulumi.StringOutput
- func (o MethodResponseOutput) Options() OptionResponseArrayOutput
- func (o MethodResponseOutput) RequestStreaming() pulumi.BoolOutput
- func (o MethodResponseOutput) RequestTypeUrl() pulumi.StringOutput
- func (o MethodResponseOutput) ResponseStreaming() pulumi.BoolOutput
- func (o MethodResponseOutput) ResponseTypeUrl() pulumi.StringOutput
- func (o MethodResponseOutput) Syntax() pulumi.StringOutput
- func (o MethodResponseOutput) ToMethodResponseOutput() MethodResponseOutput
- func (o MethodResponseOutput) ToMethodResponseOutputWithContext(ctx context.Context) MethodResponseOutput
- type MetricDescriptor
- type MetricDescriptorArgs
- type MetricDescriptorArray
- type MetricDescriptorArrayInput
- type MetricDescriptorArrayOutput
- func (MetricDescriptorArrayOutput) ElementType() reflect.Type
- func (o MetricDescriptorArrayOutput) Index(i pulumi.IntInput) MetricDescriptorOutput
- func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput
- func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext(ctx context.Context) MetricDescriptorArrayOutput
- type MetricDescriptorInput
- type MetricDescriptorMetadata
- type MetricDescriptorMetadataArgs
- func (MetricDescriptorMetadataArgs) ElementType() reflect.Type
- func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
- func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput
- func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
- func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
- type MetricDescriptorMetadataInput
- type MetricDescriptorMetadataOutput
- func (MetricDescriptorMetadataOutput) ElementType() reflect.Type
- func (o MetricDescriptorMetadataOutput) IngestDelay() pulumi.StringPtrOutput
- func (o MetricDescriptorMetadataOutput) SamplePeriod() pulumi.StringPtrOutput
- func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
- func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput
- func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
- func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
- type MetricDescriptorMetadataPtrInput
- type MetricDescriptorMetadataPtrOutput
- func (o MetricDescriptorMetadataPtrOutput) Elem() MetricDescriptorMetadataOutput
- func (MetricDescriptorMetadataPtrOutput) ElementType() reflect.Type
- func (o MetricDescriptorMetadataPtrOutput) IngestDelay() pulumi.StringPtrOutput
- func (o MetricDescriptorMetadataPtrOutput) SamplePeriod() pulumi.StringPtrOutput
- func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
- func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
- type MetricDescriptorMetadataResponse
- type MetricDescriptorMetadataResponseArgs
- func (MetricDescriptorMetadataResponseArgs) ElementType() reflect.Type
- func (i MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput
- func (i MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutputWithContext(ctx context.Context) MetricDescriptorMetadataResponseOutput
- type MetricDescriptorMetadataResponseInput
- type MetricDescriptorMetadataResponseOutput
- func (MetricDescriptorMetadataResponseOutput) ElementType() reflect.Type
- func (o MetricDescriptorMetadataResponseOutput) IngestDelay() pulumi.StringOutput
- func (o MetricDescriptorMetadataResponseOutput) SamplePeriod() pulumi.StringOutput
- func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput
- func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutputWithContext(ctx context.Context) MetricDescriptorMetadataResponseOutput
- type MetricDescriptorOutput
- func (o MetricDescriptorOutput) Description() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) DisplayName() pulumi.StringPtrOutput
- func (MetricDescriptorOutput) ElementType() reflect.Type
- func (o MetricDescriptorOutput) Labels() LabelDescriptorArrayOutput
- func (o MetricDescriptorOutput) LaunchStage() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) Metadata() MetricDescriptorMetadataPtrOutput
- func (o MetricDescriptorOutput) MetricKind() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) MonitoredResourceTypes() pulumi.StringArrayOutput
- func (o MetricDescriptorOutput) Name() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) ToMetricDescriptorOutput() MetricDescriptorOutput
- func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput
- func (o MetricDescriptorOutput) Type() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) Unit() pulumi.StringPtrOutput
- func (o MetricDescriptorOutput) ValueType() pulumi.StringPtrOutput
- type MetricDescriptorResponse
- type MetricDescriptorResponseArgs
- func (MetricDescriptorResponseArgs) ElementType() reflect.Type
- func (i MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput
- func (i MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutputWithContext(ctx context.Context) MetricDescriptorResponseOutput
- type MetricDescriptorResponseArray
- func (MetricDescriptorResponseArray) ElementType() reflect.Type
- func (i MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutput() MetricDescriptorResponseArrayOutput
- func (i MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutputWithContext(ctx context.Context) MetricDescriptorResponseArrayOutput
- type MetricDescriptorResponseArrayInput
- type MetricDescriptorResponseArrayOutput
- func (MetricDescriptorResponseArrayOutput) ElementType() reflect.Type
- func (o MetricDescriptorResponseArrayOutput) Index(i pulumi.IntInput) MetricDescriptorResponseOutput
- func (o MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutput() MetricDescriptorResponseArrayOutput
- func (o MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutputWithContext(ctx context.Context) MetricDescriptorResponseArrayOutput
- type MetricDescriptorResponseInput
- type MetricDescriptorResponseOutput
- func (o MetricDescriptorResponseOutput) Description() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) DisplayName() pulumi.StringOutput
- func (MetricDescriptorResponseOutput) ElementType() reflect.Type
- func (o MetricDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
- func (o MetricDescriptorResponseOutput) LaunchStage() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) Metadata() MetricDescriptorMetadataResponseOutput
- func (o MetricDescriptorResponseOutput) MetricKind() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) MonitoredResourceTypes() pulumi.StringArrayOutput
- func (o MetricDescriptorResponseOutput) Name() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput
- func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithContext(ctx context.Context) MetricDescriptorResponseOutput
- func (o MetricDescriptorResponseOutput) Type() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) Unit() pulumi.StringOutput
- func (o MetricDescriptorResponseOutput) ValueType() pulumi.StringOutput
- type MetricRule
- type MetricRuleArgs
- type MetricRuleArray
- type MetricRuleArrayInput
- type MetricRuleArrayOutput
- func (MetricRuleArrayOutput) ElementType() reflect.Type
- func (o MetricRuleArrayOutput) Index(i pulumi.IntInput) MetricRuleOutput
- func (o MetricRuleArrayOutput) ToMetricRuleArrayOutput() MetricRuleArrayOutput
- func (o MetricRuleArrayOutput) ToMetricRuleArrayOutputWithContext(ctx context.Context) MetricRuleArrayOutput
- type MetricRuleInput
- type MetricRuleOutput
- func (MetricRuleOutput) ElementType() reflect.Type
- func (o MetricRuleOutput) MetricCosts() pulumi.StringMapOutput
- func (o MetricRuleOutput) Selector() pulumi.StringPtrOutput
- func (o MetricRuleOutput) ToMetricRuleOutput() MetricRuleOutput
- func (o MetricRuleOutput) ToMetricRuleOutputWithContext(ctx context.Context) MetricRuleOutput
- type MetricRuleResponse
- type MetricRuleResponseArgs
- type MetricRuleResponseArray
- type MetricRuleResponseArrayInput
- type MetricRuleResponseArrayOutput
- func (MetricRuleResponseArrayOutput) ElementType() reflect.Type
- func (o MetricRuleResponseArrayOutput) Index(i pulumi.IntInput) MetricRuleResponseOutput
- func (o MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutput() MetricRuleResponseArrayOutput
- func (o MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutputWithContext(ctx context.Context) MetricRuleResponseArrayOutput
- type MetricRuleResponseInput
- type MetricRuleResponseOutput
- func (MetricRuleResponseOutput) ElementType() reflect.Type
- func (o MetricRuleResponseOutput) MetricCosts() pulumi.StringMapOutput
- func (o MetricRuleResponseOutput) Selector() pulumi.StringOutput
- func (o MetricRuleResponseOutput) ToMetricRuleResponseOutput() MetricRuleResponseOutput
- func (o MetricRuleResponseOutput) ToMetricRuleResponseOutputWithContext(ctx context.Context) MetricRuleResponseOutput
- type Mixin
- type MixinArgs
- type MixinArray
- type MixinArrayInput
- type MixinArrayOutput
- type MixinInput
- type MixinOutput
- type MixinResponse
- type MixinResponseArgs
- type MixinResponseArray
- type MixinResponseArrayInput
- type MixinResponseArrayOutput
- func (MixinResponseArrayOutput) ElementType() reflect.Type
- func (o MixinResponseArrayOutput) Index(i pulumi.IntInput) MixinResponseOutput
- func (o MixinResponseArrayOutput) ToMixinResponseArrayOutput() MixinResponseArrayOutput
- func (o MixinResponseArrayOutput) ToMixinResponseArrayOutputWithContext(ctx context.Context) MixinResponseArrayOutput
- type MixinResponseInput
- type MixinResponseOutput
- func (MixinResponseOutput) ElementType() reflect.Type
- func (o MixinResponseOutput) Name() pulumi.StringOutput
- func (o MixinResponseOutput) Root() pulumi.StringOutput
- func (o MixinResponseOutput) ToMixinResponseOutput() MixinResponseOutput
- func (o MixinResponseOutput) ToMixinResponseOutputWithContext(ctx context.Context) MixinResponseOutput
- type MonitoredResourceDescriptor
- type MonitoredResourceDescriptorArgs
- func (MonitoredResourceDescriptorArgs) ElementType() reflect.Type
- func (i MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutput() MonitoredResourceDescriptorOutput
- func (i MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutputWithContext(ctx context.Context) MonitoredResourceDescriptorOutput
- type MonitoredResourceDescriptorArray
- func (MonitoredResourceDescriptorArray) ElementType() reflect.Type
- func (i MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutput() MonitoredResourceDescriptorArrayOutput
- func (i MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorArrayOutput
- type MonitoredResourceDescriptorArrayInput
- type MonitoredResourceDescriptorArrayOutput
- func (MonitoredResourceDescriptorArrayOutput) ElementType() reflect.Type
- func (o MonitoredResourceDescriptorArrayOutput) Index(i pulumi.IntInput) MonitoredResourceDescriptorOutput
- func (o MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutput() MonitoredResourceDescriptorArrayOutput
- func (o MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorArrayOutput
- type MonitoredResourceDescriptorInput
- type MonitoredResourceDescriptorOutput
- func (o MonitoredResourceDescriptorOutput) Description() pulumi.StringPtrOutput
- func (o MonitoredResourceDescriptorOutput) DisplayName() pulumi.StringPtrOutput
- func (MonitoredResourceDescriptorOutput) ElementType() reflect.Type
- func (o MonitoredResourceDescriptorOutput) Labels() LabelDescriptorArrayOutput
- func (o MonitoredResourceDescriptorOutput) LaunchStage() pulumi.StringPtrOutput
- func (o MonitoredResourceDescriptorOutput) Name() pulumi.StringPtrOutput
- func (o MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutput() MonitoredResourceDescriptorOutput
- func (o MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutputWithContext(ctx context.Context) MonitoredResourceDescriptorOutput
- func (o MonitoredResourceDescriptorOutput) Type() pulumi.StringPtrOutput
- type MonitoredResourceDescriptorResponse
- type MonitoredResourceDescriptorResponseArgs
- func (MonitoredResourceDescriptorResponseArgs) ElementType() reflect.Type
- func (i MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutput() MonitoredResourceDescriptorResponseOutput
- func (i MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseOutput
- type MonitoredResourceDescriptorResponseArray
- func (MonitoredResourceDescriptorResponseArray) ElementType() reflect.Type
- func (i MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutput() MonitoredResourceDescriptorResponseArrayOutput
- func (i MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseArrayOutput
- type MonitoredResourceDescriptorResponseArrayInput
- type MonitoredResourceDescriptorResponseArrayOutput
- func (MonitoredResourceDescriptorResponseArrayOutput) ElementType() reflect.Type
- func (o MonitoredResourceDescriptorResponseArrayOutput) Index(i pulumi.IntInput) MonitoredResourceDescriptorResponseOutput
- func (o MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutput() MonitoredResourceDescriptorResponseArrayOutput
- func (o MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseArrayOutput
- type MonitoredResourceDescriptorResponseInput
- type MonitoredResourceDescriptorResponseOutput
- func (o MonitoredResourceDescriptorResponseOutput) Description() pulumi.StringOutput
- func (o MonitoredResourceDescriptorResponseOutput) DisplayName() pulumi.StringOutput
- func (MonitoredResourceDescriptorResponseOutput) ElementType() reflect.Type
- func (o MonitoredResourceDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
- func (o MonitoredResourceDescriptorResponseOutput) LaunchStage() pulumi.StringOutput
- func (o MonitoredResourceDescriptorResponseOutput) Name() pulumi.StringOutput
- func (o MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutput() MonitoredResourceDescriptorResponseOutput
- func (o MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseOutput
- func (o MonitoredResourceDescriptorResponseOutput) Type() pulumi.StringOutput
- type Monitoring
- type MonitoringArgs
- func (MonitoringArgs) ElementType() reflect.Type
- func (i MonitoringArgs) ToMonitoringOutput() MonitoringOutput
- func (i MonitoringArgs) ToMonitoringOutputWithContext(ctx context.Context) MonitoringOutput
- func (i MonitoringArgs) ToMonitoringPtrOutput() MonitoringPtrOutput
- func (i MonitoringArgs) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
- type MonitoringDestination
- type MonitoringDestinationArgs
- type MonitoringDestinationArray
- func (MonitoringDestinationArray) ElementType() reflect.Type
- func (i MonitoringDestinationArray) ToMonitoringDestinationArrayOutput() MonitoringDestinationArrayOutput
- func (i MonitoringDestinationArray) ToMonitoringDestinationArrayOutputWithContext(ctx context.Context) MonitoringDestinationArrayOutput
- type MonitoringDestinationArrayInput
- type MonitoringDestinationArrayOutput
- func (MonitoringDestinationArrayOutput) ElementType() reflect.Type
- func (o MonitoringDestinationArrayOutput) Index(i pulumi.IntInput) MonitoringDestinationOutput
- func (o MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutput() MonitoringDestinationArrayOutput
- func (o MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutputWithContext(ctx context.Context) MonitoringDestinationArrayOutput
- type MonitoringDestinationInput
- type MonitoringDestinationOutput
- func (MonitoringDestinationOutput) ElementType() reflect.Type
- func (o MonitoringDestinationOutput) Metrics() pulumi.StringArrayOutput
- func (o MonitoringDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
- func (o MonitoringDestinationOutput) ToMonitoringDestinationOutput() MonitoringDestinationOutput
- func (o MonitoringDestinationOutput) ToMonitoringDestinationOutputWithContext(ctx context.Context) MonitoringDestinationOutput
- type MonitoringDestinationResponse
- type MonitoringDestinationResponseArgs
- func (MonitoringDestinationResponseArgs) ElementType() reflect.Type
- func (i MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutput() MonitoringDestinationResponseOutput
- func (i MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutputWithContext(ctx context.Context) MonitoringDestinationResponseOutput
- type MonitoringDestinationResponseArray
- func (MonitoringDestinationResponseArray) ElementType() reflect.Type
- func (i MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutput() MonitoringDestinationResponseArrayOutput
- func (i MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutputWithContext(ctx context.Context) MonitoringDestinationResponseArrayOutput
- type MonitoringDestinationResponseArrayInput
- type MonitoringDestinationResponseArrayOutput
- func (MonitoringDestinationResponseArrayOutput) ElementType() reflect.Type
- func (o MonitoringDestinationResponseArrayOutput) Index(i pulumi.IntInput) MonitoringDestinationResponseOutput
- func (o MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutput() MonitoringDestinationResponseArrayOutput
- func (o MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutputWithContext(ctx context.Context) MonitoringDestinationResponseArrayOutput
- type MonitoringDestinationResponseInput
- type MonitoringDestinationResponseOutput
- func (MonitoringDestinationResponseOutput) ElementType() reflect.Type
- func (o MonitoringDestinationResponseOutput) Metrics() pulumi.StringArrayOutput
- func (o MonitoringDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
- func (o MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutput() MonitoringDestinationResponseOutput
- func (o MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutputWithContext(ctx context.Context) MonitoringDestinationResponseOutput
- type MonitoringInput
- type MonitoringOutput
- func (o MonitoringOutput) ConsumerDestinations() MonitoringDestinationArrayOutput
- func (MonitoringOutput) ElementType() reflect.Type
- func (o MonitoringOutput) ProducerDestinations() MonitoringDestinationArrayOutput
- func (o MonitoringOutput) ToMonitoringOutput() MonitoringOutput
- func (o MonitoringOutput) ToMonitoringOutputWithContext(ctx context.Context) MonitoringOutput
- func (o MonitoringOutput) ToMonitoringPtrOutput() MonitoringPtrOutput
- func (o MonitoringOutput) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
- type MonitoringPtrInput
- type MonitoringPtrOutput
- func (o MonitoringPtrOutput) ConsumerDestinations() MonitoringDestinationArrayOutput
- func (o MonitoringPtrOutput) Elem() MonitoringOutput
- func (MonitoringPtrOutput) ElementType() reflect.Type
- func (o MonitoringPtrOutput) ProducerDestinations() MonitoringDestinationArrayOutput
- func (o MonitoringPtrOutput) ToMonitoringPtrOutput() MonitoringPtrOutput
- func (o MonitoringPtrOutput) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
- type MonitoringResponse
- type MonitoringResponseArgs
- func (MonitoringResponseArgs) ElementType() reflect.Type
- func (i MonitoringResponseArgs) ToMonitoringResponseOutput() MonitoringResponseOutput
- func (i MonitoringResponseArgs) ToMonitoringResponseOutputWithContext(ctx context.Context) MonitoringResponseOutput
- func (i MonitoringResponseArgs) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
- func (i MonitoringResponseArgs) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
- type MonitoringResponseInput
- type MonitoringResponseOutput
- func (o MonitoringResponseOutput) ConsumerDestinations() MonitoringDestinationResponseArrayOutput
- func (MonitoringResponseOutput) ElementType() reflect.Type
- func (o MonitoringResponseOutput) ProducerDestinations() MonitoringDestinationResponseArrayOutput
- func (o MonitoringResponseOutput) ToMonitoringResponseOutput() MonitoringResponseOutput
- func (o MonitoringResponseOutput) ToMonitoringResponseOutputWithContext(ctx context.Context) MonitoringResponseOutput
- func (o MonitoringResponseOutput) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
- func (o MonitoringResponseOutput) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
- type MonitoringResponsePtrInput
- type MonitoringResponsePtrOutput
- func (o MonitoringResponsePtrOutput) ConsumerDestinations() MonitoringDestinationResponseArrayOutput
- func (o MonitoringResponsePtrOutput) Elem() MonitoringResponseOutput
- func (MonitoringResponsePtrOutput) ElementType() reflect.Type
- func (o MonitoringResponsePtrOutput) ProducerDestinations() MonitoringDestinationResponseArrayOutput
- func (o MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
- func (o MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
- type OAuthRequirements
- type OAuthRequirementsArgs
- func (OAuthRequirementsArgs) ElementType() reflect.Type
- func (i OAuthRequirementsArgs) ToOAuthRequirementsOutput() OAuthRequirementsOutput
- func (i OAuthRequirementsArgs) ToOAuthRequirementsOutputWithContext(ctx context.Context) OAuthRequirementsOutput
- func (i OAuthRequirementsArgs) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
- func (i OAuthRequirementsArgs) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
- type OAuthRequirementsInput
- type OAuthRequirementsOutput
- func (o OAuthRequirementsOutput) CanonicalScopes() pulumi.StringPtrOutput
- func (OAuthRequirementsOutput) ElementType() reflect.Type
- func (o OAuthRequirementsOutput) ToOAuthRequirementsOutput() OAuthRequirementsOutput
- func (o OAuthRequirementsOutput) ToOAuthRequirementsOutputWithContext(ctx context.Context) OAuthRequirementsOutput
- func (o OAuthRequirementsOutput) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
- func (o OAuthRequirementsOutput) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
- type OAuthRequirementsPtrInput
- type OAuthRequirementsPtrOutput
- func (o OAuthRequirementsPtrOutput) CanonicalScopes() pulumi.StringPtrOutput
- func (o OAuthRequirementsPtrOutput) Elem() OAuthRequirementsOutput
- func (OAuthRequirementsPtrOutput) ElementType() reflect.Type
- func (o OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
- func (o OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
- type OAuthRequirementsResponse
- type OAuthRequirementsResponseArgs
- func (OAuthRequirementsResponseArgs) ElementType() reflect.Type
- func (i OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutput() OAuthRequirementsResponseOutput
- func (i OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutputWithContext(ctx context.Context) OAuthRequirementsResponseOutput
- type OAuthRequirementsResponseInput
- type OAuthRequirementsResponseOutput
- func (o OAuthRequirementsResponseOutput) CanonicalScopes() pulumi.StringOutput
- func (OAuthRequirementsResponseOutput) ElementType() reflect.Type
- func (o OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutput() OAuthRequirementsResponseOutput
- func (o OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutputWithContext(ctx context.Context) OAuthRequirementsResponseOutput
- type Option
- type OptionArgs
- type OptionArray
- type OptionArrayInput
- type OptionArrayOutput
- type OptionInput
- type OptionOutput
- type OptionResponse
- type OptionResponseArgs
- type OptionResponseArray
- type OptionResponseArrayInput
- type OptionResponseArrayOutput
- func (OptionResponseArrayOutput) ElementType() reflect.Type
- func (o OptionResponseArrayOutput) Index(i pulumi.IntInput) OptionResponseOutput
- func (o OptionResponseArrayOutput) ToOptionResponseArrayOutput() OptionResponseArrayOutput
- func (o OptionResponseArrayOutput) ToOptionResponseArrayOutputWithContext(ctx context.Context) OptionResponseArrayOutput
- type OptionResponseInput
- type OptionResponseOutput
- func (OptionResponseOutput) ElementType() reflect.Type
- func (o OptionResponseOutput) Name() pulumi.StringOutput
- func (o OptionResponseOutput) ToOptionResponseOutput() OptionResponseOutput
- func (o OptionResponseOutput) ToOptionResponseOutputWithContext(ctx context.Context) OptionResponseOutput
- func (o OptionResponseOutput) Value() pulumi.StringMapOutput
- type Page
- type PageArgs
- type PageArray
- type PageArrayInput
- type PageArrayOutput
- type PageInput
- type PageOutput
- func (o PageOutput) Content() pulumi.StringPtrOutput
- func (PageOutput) ElementType() reflect.Type
- func (o PageOutput) Name() pulumi.StringPtrOutput
- func (o PageOutput) Subpages() PageArrayOutput
- func (o PageOutput) ToPageOutput() PageOutput
- func (o PageOutput) ToPageOutputWithContext(ctx context.Context) PageOutput
- type PageResponse
- type PageResponseArgs
- type PageResponseArray
- type PageResponseArrayInput
- type PageResponseArrayOutput
- func (PageResponseArrayOutput) ElementType() reflect.Type
- func (o PageResponseArrayOutput) Index(i pulumi.IntInput) PageResponseOutput
- func (o PageResponseArrayOutput) ToPageResponseArrayOutput() PageResponseArrayOutput
- func (o PageResponseArrayOutput) ToPageResponseArrayOutputWithContext(ctx context.Context) PageResponseArrayOutput
- type PageResponseInput
- type PageResponseOutput
- func (o PageResponseOutput) Content() pulumi.StringOutput
- func (PageResponseOutput) ElementType() reflect.Type
- func (o PageResponseOutput) Name() pulumi.StringOutput
- func (o PageResponseOutput) Subpages() PageResponseArrayOutput
- func (o PageResponseOutput) ToPageResponseOutput() PageResponseOutput
- func (o PageResponseOutput) ToPageResponseOutputWithContext(ctx context.Context) PageResponseOutput
- type Quota
- type QuotaArgs
- func (QuotaArgs) ElementType() reflect.Type
- func (i QuotaArgs) ToQuotaOutput() QuotaOutput
- func (i QuotaArgs) ToQuotaOutputWithContext(ctx context.Context) QuotaOutput
- func (i QuotaArgs) ToQuotaPtrOutput() QuotaPtrOutput
- func (i QuotaArgs) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
- type QuotaInput
- type QuotaLimit
- type QuotaLimitArgs
- type QuotaLimitArray
- type QuotaLimitArrayInput
- type QuotaLimitArrayOutput
- func (QuotaLimitArrayOutput) ElementType() reflect.Type
- func (o QuotaLimitArrayOutput) Index(i pulumi.IntInput) QuotaLimitOutput
- func (o QuotaLimitArrayOutput) ToQuotaLimitArrayOutput() QuotaLimitArrayOutput
- func (o QuotaLimitArrayOutput) ToQuotaLimitArrayOutputWithContext(ctx context.Context) QuotaLimitArrayOutput
- type QuotaLimitInput
- type QuotaLimitOutput
- func (o QuotaLimitOutput) DefaultLimit() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) Description() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) DisplayName() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) Duration() pulumi.StringPtrOutput
- func (QuotaLimitOutput) ElementType() reflect.Type
- func (o QuotaLimitOutput) FreeTier() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) MaxLimit() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) Metric() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) Name() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) ToQuotaLimitOutput() QuotaLimitOutput
- func (o QuotaLimitOutput) ToQuotaLimitOutputWithContext(ctx context.Context) QuotaLimitOutput
- func (o QuotaLimitOutput) Unit() pulumi.StringPtrOutput
- func (o QuotaLimitOutput) Values() pulumi.StringMapOutput
- type QuotaLimitResponse
- type QuotaLimitResponseArgs
- type QuotaLimitResponseArray
- type QuotaLimitResponseArrayInput
- type QuotaLimitResponseArrayOutput
- func (QuotaLimitResponseArrayOutput) ElementType() reflect.Type
- func (o QuotaLimitResponseArrayOutput) Index(i pulumi.IntInput) QuotaLimitResponseOutput
- func (o QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutput() QuotaLimitResponseArrayOutput
- func (o QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutputWithContext(ctx context.Context) QuotaLimitResponseArrayOutput
- type QuotaLimitResponseInput
- type QuotaLimitResponseOutput
- func (o QuotaLimitResponseOutput) DefaultLimit() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) Description() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) DisplayName() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) Duration() pulumi.StringOutput
- func (QuotaLimitResponseOutput) ElementType() reflect.Type
- func (o QuotaLimitResponseOutput) FreeTier() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) MaxLimit() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) Metric() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) Name() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) ToQuotaLimitResponseOutput() QuotaLimitResponseOutput
- func (o QuotaLimitResponseOutput) ToQuotaLimitResponseOutputWithContext(ctx context.Context) QuotaLimitResponseOutput
- func (o QuotaLimitResponseOutput) Unit() pulumi.StringOutput
- func (o QuotaLimitResponseOutput) Values() pulumi.StringMapOutput
- type QuotaOutput
- func (QuotaOutput) ElementType() reflect.Type
- func (o QuotaOutput) Limits() QuotaLimitArrayOutput
- func (o QuotaOutput) MetricRules() MetricRuleArrayOutput
- func (o QuotaOutput) ToQuotaOutput() QuotaOutput
- func (o QuotaOutput) ToQuotaOutputWithContext(ctx context.Context) QuotaOutput
- func (o QuotaOutput) ToQuotaPtrOutput() QuotaPtrOutput
- func (o QuotaOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
- type QuotaPtrInput
- type QuotaPtrOutput
- func (o QuotaPtrOutput) Elem() QuotaOutput
- func (QuotaPtrOutput) ElementType() reflect.Type
- func (o QuotaPtrOutput) Limits() QuotaLimitArrayOutput
- func (o QuotaPtrOutput) MetricRules() MetricRuleArrayOutput
- func (o QuotaPtrOutput) ToQuotaPtrOutput() QuotaPtrOutput
- func (o QuotaPtrOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
- type QuotaResponse
- type QuotaResponseArgs
- func (QuotaResponseArgs) ElementType() reflect.Type
- func (i QuotaResponseArgs) ToQuotaResponseOutput() QuotaResponseOutput
- func (i QuotaResponseArgs) ToQuotaResponseOutputWithContext(ctx context.Context) QuotaResponseOutput
- func (i QuotaResponseArgs) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
- func (i QuotaResponseArgs) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
- type QuotaResponseInput
- type QuotaResponseOutput
- func (QuotaResponseOutput) ElementType() reflect.Type
- func (o QuotaResponseOutput) Limits() QuotaLimitResponseArrayOutput
- func (o QuotaResponseOutput) MetricRules() MetricRuleResponseArrayOutput
- func (o QuotaResponseOutput) ToQuotaResponseOutput() QuotaResponseOutput
- func (o QuotaResponseOutput) ToQuotaResponseOutputWithContext(ctx context.Context) QuotaResponseOutput
- func (o QuotaResponseOutput) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
- func (o QuotaResponseOutput) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
- type QuotaResponsePtrInput
- type QuotaResponsePtrOutput
- func (o QuotaResponsePtrOutput) Elem() QuotaResponseOutput
- func (QuotaResponsePtrOutput) ElementType() reflect.Type
- func (o QuotaResponsePtrOutput) Limits() QuotaLimitResponseArrayOutput
- func (o QuotaResponsePtrOutput) MetricRules() MetricRuleResponseArrayOutput
- func (o QuotaResponsePtrOutput) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
- func (o QuotaResponsePtrOutput) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
- type Rollout
- type RolloutArgs
- type RolloutInput
- type RolloutOutput
- type RolloutState
- type Service
- type ServiceArgs
- type ServiceConsumerIamPolicy
- type ServiceConsumerIamPolicyArgs
- type ServiceConsumerIamPolicyInput
- type ServiceConsumerIamPolicyOutput
- func (ServiceConsumerIamPolicyOutput) ElementType() reflect.Type
- func (o ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutput() ServiceConsumerIamPolicyOutput
- func (o ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutputWithContext(ctx context.Context) ServiceConsumerIamPolicyOutput
- type ServiceConsumerIamPolicyState
- type ServiceIamPolicy
- type ServiceIamPolicyArgs
- type ServiceIamPolicyInput
- type ServiceIamPolicyOutput
- type ServiceIamPolicyState
- type ServiceInput
- type ServiceOutput
- type ServiceState
- type SourceContext
- type SourceContextArgs
- func (SourceContextArgs) ElementType() reflect.Type
- func (i SourceContextArgs) ToSourceContextOutput() SourceContextOutput
- func (i SourceContextArgs) ToSourceContextOutputWithContext(ctx context.Context) SourceContextOutput
- func (i SourceContextArgs) ToSourceContextPtrOutput() SourceContextPtrOutput
- func (i SourceContextArgs) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
- type SourceContextInput
- type SourceContextOutput
- func (SourceContextOutput) ElementType() reflect.Type
- func (o SourceContextOutput) FileName() pulumi.StringPtrOutput
- func (o SourceContextOutput) ToSourceContextOutput() SourceContextOutput
- func (o SourceContextOutput) ToSourceContextOutputWithContext(ctx context.Context) SourceContextOutput
- func (o SourceContextOutput) ToSourceContextPtrOutput() SourceContextPtrOutput
- func (o SourceContextOutput) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
- type SourceContextPtrInput
- type SourceContextPtrOutput
- func (o SourceContextPtrOutput) Elem() SourceContextOutput
- func (SourceContextPtrOutput) ElementType() reflect.Type
- func (o SourceContextPtrOutput) FileName() pulumi.StringPtrOutput
- func (o SourceContextPtrOutput) ToSourceContextPtrOutput() SourceContextPtrOutput
- func (o SourceContextPtrOutput) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
- type SourceContextResponse
- type SourceContextResponseArgs
- type SourceContextResponseInput
- type SourceContextResponseOutput
- func (SourceContextResponseOutput) ElementType() reflect.Type
- func (o SourceContextResponseOutput) FileName() pulumi.StringOutput
- func (o SourceContextResponseOutput) ToSourceContextResponseOutput() SourceContextResponseOutput
- func (o SourceContextResponseOutput) ToSourceContextResponseOutputWithContext(ctx context.Context) SourceContextResponseOutput
- type SourceInfo
- type SourceInfoArgs
- func (SourceInfoArgs) ElementType() reflect.Type
- func (i SourceInfoArgs) ToSourceInfoOutput() SourceInfoOutput
- func (i SourceInfoArgs) ToSourceInfoOutputWithContext(ctx context.Context) SourceInfoOutput
- func (i SourceInfoArgs) ToSourceInfoPtrOutput() SourceInfoPtrOutput
- func (i SourceInfoArgs) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
- type SourceInfoInput
- type SourceInfoOutput
- func (SourceInfoOutput) ElementType() reflect.Type
- func (o SourceInfoOutput) SourceFiles() pulumi.StringMapArrayOutput
- func (o SourceInfoOutput) ToSourceInfoOutput() SourceInfoOutput
- func (o SourceInfoOutput) ToSourceInfoOutputWithContext(ctx context.Context) SourceInfoOutput
- func (o SourceInfoOutput) ToSourceInfoPtrOutput() SourceInfoPtrOutput
- func (o SourceInfoOutput) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
- type SourceInfoPtrInput
- type SourceInfoPtrOutput
- func (o SourceInfoPtrOutput) Elem() SourceInfoOutput
- func (SourceInfoPtrOutput) ElementType() reflect.Type
- func (o SourceInfoPtrOutput) SourceFiles() pulumi.StringMapArrayOutput
- func (o SourceInfoPtrOutput) ToSourceInfoPtrOutput() SourceInfoPtrOutput
- func (o SourceInfoPtrOutput) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
- type SourceInfoResponse
- type SourceInfoResponseArgs
- func (SourceInfoResponseArgs) ElementType() reflect.Type
- func (i SourceInfoResponseArgs) ToSourceInfoResponseOutput() SourceInfoResponseOutput
- func (i SourceInfoResponseArgs) ToSourceInfoResponseOutputWithContext(ctx context.Context) SourceInfoResponseOutput
- func (i SourceInfoResponseArgs) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
- func (i SourceInfoResponseArgs) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
- type SourceInfoResponseInput
- type SourceInfoResponseOutput
- func (SourceInfoResponseOutput) ElementType() reflect.Type
- func (o SourceInfoResponseOutput) SourceFiles() pulumi.StringMapArrayOutput
- func (o SourceInfoResponseOutput) ToSourceInfoResponseOutput() SourceInfoResponseOutput
- func (o SourceInfoResponseOutput) ToSourceInfoResponseOutputWithContext(ctx context.Context) SourceInfoResponseOutput
- func (o SourceInfoResponseOutput) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
- func (o SourceInfoResponseOutput) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
- type SourceInfoResponsePtrInput
- type SourceInfoResponsePtrOutput
- func (o SourceInfoResponsePtrOutput) Elem() SourceInfoResponseOutput
- func (SourceInfoResponsePtrOutput) ElementType() reflect.Type
- func (o SourceInfoResponsePtrOutput) SourceFiles() pulumi.StringMapArrayOutput
- func (o SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
- func (o SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
- type SystemParameter
- type SystemParameterArgs
- type SystemParameterArray
- type SystemParameterArrayInput
- type SystemParameterArrayOutput
- func (SystemParameterArrayOutput) ElementType() reflect.Type
- func (o SystemParameterArrayOutput) Index(i pulumi.IntInput) SystemParameterOutput
- func (o SystemParameterArrayOutput) ToSystemParameterArrayOutput() SystemParameterArrayOutput
- func (o SystemParameterArrayOutput) ToSystemParameterArrayOutputWithContext(ctx context.Context) SystemParameterArrayOutput
- type SystemParameterInput
- type SystemParameterOutput
- func (SystemParameterOutput) ElementType() reflect.Type
- func (o SystemParameterOutput) HttpHeader() pulumi.StringPtrOutput
- func (o SystemParameterOutput) Name() pulumi.StringPtrOutput
- func (o SystemParameterOutput) ToSystemParameterOutput() SystemParameterOutput
- func (o SystemParameterOutput) ToSystemParameterOutputWithContext(ctx context.Context) SystemParameterOutput
- func (o SystemParameterOutput) UrlQueryParameter() pulumi.StringPtrOutput
- type SystemParameterResponse
- type SystemParameterResponseArgs
- type SystemParameterResponseArray
- func (SystemParameterResponseArray) ElementType() reflect.Type
- func (i SystemParameterResponseArray) ToSystemParameterResponseArrayOutput() SystemParameterResponseArrayOutput
- func (i SystemParameterResponseArray) ToSystemParameterResponseArrayOutputWithContext(ctx context.Context) SystemParameterResponseArrayOutput
- type SystemParameterResponseArrayInput
- type SystemParameterResponseArrayOutput
- func (SystemParameterResponseArrayOutput) ElementType() reflect.Type
- func (o SystemParameterResponseArrayOutput) Index(i pulumi.IntInput) SystemParameterResponseOutput
- func (o SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutput() SystemParameterResponseArrayOutput
- func (o SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutputWithContext(ctx context.Context) SystemParameterResponseArrayOutput
- type SystemParameterResponseInput
- type SystemParameterResponseOutput
- func (SystemParameterResponseOutput) ElementType() reflect.Type
- func (o SystemParameterResponseOutput) HttpHeader() pulumi.StringOutput
- func (o SystemParameterResponseOutput) Name() pulumi.StringOutput
- func (o SystemParameterResponseOutput) ToSystemParameterResponseOutput() SystemParameterResponseOutput
- func (o SystemParameterResponseOutput) ToSystemParameterResponseOutputWithContext(ctx context.Context) SystemParameterResponseOutput
- func (o SystemParameterResponseOutput) UrlQueryParameter() pulumi.StringOutput
- type SystemParameterRule
- type SystemParameterRuleArgs
- type SystemParameterRuleArray
- type SystemParameterRuleArrayInput
- type SystemParameterRuleArrayOutput
- func (SystemParameterRuleArrayOutput) ElementType() reflect.Type
- func (o SystemParameterRuleArrayOutput) Index(i pulumi.IntInput) SystemParameterRuleOutput
- func (o SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutput() SystemParameterRuleArrayOutput
- func (o SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutputWithContext(ctx context.Context) SystemParameterRuleArrayOutput
- type SystemParameterRuleInput
- type SystemParameterRuleOutput
- func (SystemParameterRuleOutput) ElementType() reflect.Type
- func (o SystemParameterRuleOutput) Parameters() SystemParameterArrayOutput
- func (o SystemParameterRuleOutput) Selector() pulumi.StringPtrOutput
- func (o SystemParameterRuleOutput) ToSystemParameterRuleOutput() SystemParameterRuleOutput
- func (o SystemParameterRuleOutput) ToSystemParameterRuleOutputWithContext(ctx context.Context) SystemParameterRuleOutput
- type SystemParameterRuleResponse
- type SystemParameterRuleResponseArgs
- func (SystemParameterRuleResponseArgs) ElementType() reflect.Type
- func (i SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutput() SystemParameterRuleResponseOutput
- func (i SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutputWithContext(ctx context.Context) SystemParameterRuleResponseOutput
- type SystemParameterRuleResponseArray
- func (SystemParameterRuleResponseArray) ElementType() reflect.Type
- func (i SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutput() SystemParameterRuleResponseArrayOutput
- func (i SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutputWithContext(ctx context.Context) SystemParameterRuleResponseArrayOutput
- type SystemParameterRuleResponseArrayInput
- type SystemParameterRuleResponseArrayOutput
- func (SystemParameterRuleResponseArrayOutput) ElementType() reflect.Type
- func (o SystemParameterRuleResponseArrayOutput) Index(i pulumi.IntInput) SystemParameterRuleResponseOutput
- func (o SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutput() SystemParameterRuleResponseArrayOutput
- func (o SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutputWithContext(ctx context.Context) SystemParameterRuleResponseArrayOutput
- type SystemParameterRuleResponseInput
- type SystemParameterRuleResponseOutput
- func (SystemParameterRuleResponseOutput) ElementType() reflect.Type
- func (o SystemParameterRuleResponseOutput) Parameters() SystemParameterResponseArrayOutput
- func (o SystemParameterRuleResponseOutput) Selector() pulumi.StringOutput
- func (o SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutput() SystemParameterRuleResponseOutput
- func (o SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutputWithContext(ctx context.Context) SystemParameterRuleResponseOutput
- type SystemParameters
- type SystemParametersArgs
- func (SystemParametersArgs) ElementType() reflect.Type
- func (i SystemParametersArgs) ToSystemParametersOutput() SystemParametersOutput
- func (i SystemParametersArgs) ToSystemParametersOutputWithContext(ctx context.Context) SystemParametersOutput
- func (i SystemParametersArgs) ToSystemParametersPtrOutput() SystemParametersPtrOutput
- func (i SystemParametersArgs) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
- type SystemParametersInput
- type SystemParametersOutput
- func (SystemParametersOutput) ElementType() reflect.Type
- func (o SystemParametersOutput) Rules() SystemParameterRuleArrayOutput
- func (o SystemParametersOutput) ToSystemParametersOutput() SystemParametersOutput
- func (o SystemParametersOutput) ToSystemParametersOutputWithContext(ctx context.Context) SystemParametersOutput
- func (o SystemParametersOutput) ToSystemParametersPtrOutput() SystemParametersPtrOutput
- func (o SystemParametersOutput) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
- type SystemParametersPtrInput
- type SystemParametersPtrOutput
- func (o SystemParametersPtrOutput) Elem() SystemParametersOutput
- func (SystemParametersPtrOutput) ElementType() reflect.Type
- func (o SystemParametersPtrOutput) Rules() SystemParameterRuleArrayOutput
- func (o SystemParametersPtrOutput) ToSystemParametersPtrOutput() SystemParametersPtrOutput
- func (o SystemParametersPtrOutput) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
- type SystemParametersResponse
- type SystemParametersResponseArgs
- func (SystemParametersResponseArgs) ElementType() reflect.Type
- func (i SystemParametersResponseArgs) ToSystemParametersResponseOutput() SystemParametersResponseOutput
- func (i SystemParametersResponseArgs) ToSystemParametersResponseOutputWithContext(ctx context.Context) SystemParametersResponseOutput
- func (i SystemParametersResponseArgs) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
- func (i SystemParametersResponseArgs) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
- type SystemParametersResponseInput
- type SystemParametersResponseOutput
- func (SystemParametersResponseOutput) ElementType() reflect.Type
- func (o SystemParametersResponseOutput) Rules() SystemParameterRuleResponseArrayOutput
- func (o SystemParametersResponseOutput) ToSystemParametersResponseOutput() SystemParametersResponseOutput
- func (o SystemParametersResponseOutput) ToSystemParametersResponseOutputWithContext(ctx context.Context) SystemParametersResponseOutput
- func (o SystemParametersResponseOutput) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
- func (o SystemParametersResponseOutput) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
- type SystemParametersResponsePtrInput
- type SystemParametersResponsePtrOutput
- func (o SystemParametersResponsePtrOutput) Elem() SystemParametersResponseOutput
- func (SystemParametersResponsePtrOutput) ElementType() reflect.Type
- func (o SystemParametersResponsePtrOutput) Rules() SystemParameterRuleResponseArrayOutput
- func (o SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
- func (o SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
- type TrafficPercentStrategy
- type TrafficPercentStrategyArgs
- func (TrafficPercentStrategyArgs) ElementType() reflect.Type
- func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutput() TrafficPercentStrategyOutput
- func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutputWithContext(ctx context.Context) TrafficPercentStrategyOutput
- func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
- func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
- type TrafficPercentStrategyInput
- type TrafficPercentStrategyOutput
- func (TrafficPercentStrategyOutput) ElementType() reflect.Type
- func (o TrafficPercentStrategyOutput) Percentages() pulumi.StringMapOutput
- func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutput() TrafficPercentStrategyOutput
- func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutputWithContext(ctx context.Context) TrafficPercentStrategyOutput
- func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
- func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
- type TrafficPercentStrategyPtrInput
- type TrafficPercentStrategyPtrOutput
- func (o TrafficPercentStrategyPtrOutput) Elem() TrafficPercentStrategyOutput
- func (TrafficPercentStrategyPtrOutput) ElementType() reflect.Type
- func (o TrafficPercentStrategyPtrOutput) Percentages() pulumi.StringMapOutput
- func (o TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
- func (o TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
- type TrafficPercentStrategyResponse
- type TrafficPercentStrategyResponseArgs
- func (TrafficPercentStrategyResponseArgs) ElementType() reflect.Type
- func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutput() TrafficPercentStrategyResponseOutput
- func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutputWithContext(ctx context.Context) TrafficPercentStrategyResponseOutput
- func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
- func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
- type TrafficPercentStrategyResponseInput
- type TrafficPercentStrategyResponseOutput
- func (TrafficPercentStrategyResponseOutput) ElementType() reflect.Type
- func (o TrafficPercentStrategyResponseOutput) Percentages() pulumi.StringMapOutput
- func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutput() TrafficPercentStrategyResponseOutput
- func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutputWithContext(ctx context.Context) TrafficPercentStrategyResponseOutput
- func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
- func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
- type TrafficPercentStrategyResponsePtrInput
- type TrafficPercentStrategyResponsePtrOutput
- func (o TrafficPercentStrategyResponsePtrOutput) Elem() TrafficPercentStrategyResponseOutput
- func (TrafficPercentStrategyResponsePtrOutput) ElementType() reflect.Type
- func (o TrafficPercentStrategyResponsePtrOutput) Percentages() pulumi.StringMapOutput
- func (o TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
- func (o TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
- type Type
- type TypeArgs
- type TypeArray
- type TypeArrayInput
- type TypeArrayOutput
- type TypeInput
- type TypeOutput
- func (TypeOutput) ElementType() reflect.Type
- func (o TypeOutput) Fields() FieldArrayOutput
- func (o TypeOutput) Name() pulumi.StringPtrOutput
- func (o TypeOutput) Oneofs() pulumi.StringArrayOutput
- func (o TypeOutput) Options() OptionArrayOutput
- func (o TypeOutput) SourceContext() SourceContextPtrOutput
- func (o TypeOutput) Syntax() pulumi.StringPtrOutput
- func (o TypeOutput) ToTypeOutput() TypeOutput
- func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput
- type TypeResponse
- type TypeResponseArgs
- type TypeResponseArray
- type TypeResponseArrayInput
- type TypeResponseArrayOutput
- func (TypeResponseArrayOutput) ElementType() reflect.Type
- func (o TypeResponseArrayOutput) Index(i pulumi.IntInput) TypeResponseOutput
- func (o TypeResponseArrayOutput) ToTypeResponseArrayOutput() TypeResponseArrayOutput
- func (o TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext(ctx context.Context) TypeResponseArrayOutput
- type TypeResponseInput
- type TypeResponseOutput
- func (TypeResponseOutput) ElementType() reflect.Type
- func (o TypeResponseOutput) Fields() FieldResponseArrayOutput
- func (o TypeResponseOutput) Name() pulumi.StringOutput
- func (o TypeResponseOutput) Oneofs() pulumi.StringArrayOutput
- func (o TypeResponseOutput) Options() OptionResponseArrayOutput
- func (o TypeResponseOutput) SourceContext() SourceContextResponseOutput
- func (o TypeResponseOutput) Syntax() pulumi.StringOutput
- func (o TypeResponseOutput) ToTypeResponseOutput() TypeResponseOutput
- func (o TypeResponseOutput) ToTypeResponseOutputWithContext(ctx context.Context) TypeResponseOutput
- type Usage
- type UsageArgs
- func (UsageArgs) ElementType() reflect.Type
- func (i UsageArgs) ToUsageOutput() UsageOutput
- func (i UsageArgs) ToUsageOutputWithContext(ctx context.Context) UsageOutput
- func (i UsageArgs) ToUsagePtrOutput() UsagePtrOutput
- func (i UsageArgs) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
- type UsageInput
- type UsageOutput
- func (UsageOutput) ElementType() reflect.Type
- func (o UsageOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
- func (o UsageOutput) Requirements() pulumi.StringArrayOutput
- func (o UsageOutput) Rules() UsageRuleArrayOutput
- func (o UsageOutput) ToUsageOutput() UsageOutput
- func (o UsageOutput) ToUsageOutputWithContext(ctx context.Context) UsageOutput
- func (o UsageOutput) ToUsagePtrOutput() UsagePtrOutput
- func (o UsageOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
- type UsagePtrInput
- type UsagePtrOutput
- func (o UsagePtrOutput) Elem() UsageOutput
- func (UsagePtrOutput) ElementType() reflect.Type
- func (o UsagePtrOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
- func (o UsagePtrOutput) Requirements() pulumi.StringArrayOutput
- func (o UsagePtrOutput) Rules() UsageRuleArrayOutput
- func (o UsagePtrOutput) ToUsagePtrOutput() UsagePtrOutput
- func (o UsagePtrOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
- type UsageResponse
- type UsageResponseArgs
- func (UsageResponseArgs) ElementType() reflect.Type
- func (i UsageResponseArgs) ToUsageResponseOutput() UsageResponseOutput
- func (i UsageResponseArgs) ToUsageResponseOutputWithContext(ctx context.Context) UsageResponseOutput
- func (i UsageResponseArgs) ToUsageResponsePtrOutput() UsageResponsePtrOutput
- func (i UsageResponseArgs) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
- type UsageResponseInput
- type UsageResponseOutput
- func (UsageResponseOutput) ElementType() reflect.Type
- func (o UsageResponseOutput) ProducerNotificationChannel() pulumi.StringOutput
- func (o UsageResponseOutput) Requirements() pulumi.StringArrayOutput
- func (o UsageResponseOutput) Rules() UsageRuleResponseArrayOutput
- func (o UsageResponseOutput) ToUsageResponseOutput() UsageResponseOutput
- func (o UsageResponseOutput) ToUsageResponseOutputWithContext(ctx context.Context) UsageResponseOutput
- func (o UsageResponseOutput) ToUsageResponsePtrOutput() UsageResponsePtrOutput
- func (o UsageResponseOutput) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
- type UsageResponsePtrInput
- type UsageResponsePtrOutput
- func (o UsageResponsePtrOutput) Elem() UsageResponseOutput
- func (UsageResponsePtrOutput) ElementType() reflect.Type
- func (o UsageResponsePtrOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
- func (o UsageResponsePtrOutput) Requirements() pulumi.StringArrayOutput
- func (o UsageResponsePtrOutput) Rules() UsageRuleResponseArrayOutput
- func (o UsageResponsePtrOutput) ToUsageResponsePtrOutput() UsageResponsePtrOutput
- func (o UsageResponsePtrOutput) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
- type UsageRule
- type UsageRuleArgs
- type UsageRuleArray
- type UsageRuleArrayInput
- type UsageRuleArrayOutput
- func (UsageRuleArrayOutput) ElementType() reflect.Type
- func (o UsageRuleArrayOutput) Index(i pulumi.IntInput) UsageRuleOutput
- func (o UsageRuleArrayOutput) ToUsageRuleArrayOutput() UsageRuleArrayOutput
- func (o UsageRuleArrayOutput) ToUsageRuleArrayOutputWithContext(ctx context.Context) UsageRuleArrayOutput
- type UsageRuleInput
- type UsageRuleOutput
- func (o UsageRuleOutput) AllowUnregisteredCalls() pulumi.BoolPtrOutput
- func (UsageRuleOutput) ElementType() reflect.Type
- func (o UsageRuleOutput) Selector() pulumi.StringPtrOutput
- func (o UsageRuleOutput) SkipServiceControl() pulumi.BoolPtrOutput
- func (o UsageRuleOutput) ToUsageRuleOutput() UsageRuleOutput
- func (o UsageRuleOutput) ToUsageRuleOutputWithContext(ctx context.Context) UsageRuleOutput
- type UsageRuleResponse
- type UsageRuleResponseArgs
- type UsageRuleResponseArray
- type UsageRuleResponseArrayInput
- type UsageRuleResponseArrayOutput
- func (UsageRuleResponseArrayOutput) ElementType() reflect.Type
- func (o UsageRuleResponseArrayOutput) Index(i pulumi.IntInput) UsageRuleResponseOutput
- func (o UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutput() UsageRuleResponseArrayOutput
- func (o UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutputWithContext(ctx context.Context) UsageRuleResponseArrayOutput
- type UsageRuleResponseInput
- type UsageRuleResponseOutput
- func (o UsageRuleResponseOutput) AllowUnregisteredCalls() pulumi.BoolOutput
- func (UsageRuleResponseOutput) ElementType() reflect.Type
- func (o UsageRuleResponseOutput) Selector() pulumi.StringOutput
- func (o UsageRuleResponseOutput) SkipServiceControl() pulumi.BoolOutput
- func (o UsageRuleResponseOutput) ToUsageRuleResponseOutput() UsageRuleResponseOutput
- func (o UsageRuleResponseOutput) ToUsageRuleResponseOutputWithContext(ctx context.Context) UsageRuleResponseOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct { // The methods of this interface, in unspecified order. Methods []Method `pulumi:"methods"` // Included interfaces. See Mixin. Mixins []Mixin `pulumi:"mixins"` // The fully qualified name of this interface, including package name followed by the interface's simple name. Name *string `pulumi:"name"` // Any metadata attached to the interface. Options []Option `pulumi:"options"` // Source context for the protocol buffer service represented by this message. SourceContext *SourceContext `pulumi:"sourceContext"` // The source syntax of the service. Syntax *string `pulumi:"syntax"` // A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. Version *string `pulumi:"version"` }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
type ApiArgs ¶
type ApiArgs struct { // The methods of this interface, in unspecified order. Methods MethodArrayInput `pulumi:"methods"` // Included interfaces. See Mixin. Mixins MixinArrayInput `pulumi:"mixins"` // The fully qualified name of this interface, including package name followed by the interface's simple name. Name pulumi.StringPtrInput `pulumi:"name"` // Any metadata attached to the interface. Options OptionArrayInput `pulumi:"options"` // Source context for the protocol buffer service represented by this message. SourceContext SourceContextPtrInput `pulumi:"sourceContext"` // The source syntax of the service. Syntax pulumi.StringPtrInput `pulumi:"syntax"` // A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. Version pulumi.StringPtrInput `pulumi:"version"` }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
func (ApiArgs) ElementType ¶
func (ApiArgs) ToApiOutput ¶
type ApiArray ¶
type ApiArray []ApiInput
func (ApiArray) ElementType ¶
func (ApiArray) ToApiArrayOutput ¶
func (i ApiArray) ToApiArrayOutput() ApiArrayOutput
func (ApiArray) ToApiArrayOutputWithContext ¶
func (i ApiArray) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput
type ApiArrayInput ¶
type ApiArrayInput interface { pulumi.Input ToApiArrayOutput() ApiArrayOutput ToApiArrayOutputWithContext(context.Context) ApiArrayOutput }
ApiArrayInput is an input type that accepts ApiArray and ApiArrayOutput values. You can construct a concrete instance of `ApiArrayInput` via:
ApiArray{ ApiArgs{...} }
type ApiArrayOutput ¶
type ApiArrayOutput struct{ *pulumi.OutputState }
func (ApiArrayOutput) ElementType ¶
func (ApiArrayOutput) ElementType() reflect.Type
func (ApiArrayOutput) ToApiArrayOutput ¶
func (o ApiArrayOutput) ToApiArrayOutput() ApiArrayOutput
func (ApiArrayOutput) ToApiArrayOutputWithContext ¶
func (o ApiArrayOutput) ToApiArrayOutputWithContext(ctx context.Context) ApiArrayOutput
type ApiInput ¶
type ApiInput interface { pulumi.Input ToApiOutput() ApiOutput ToApiOutputWithContext(context.Context) ApiOutput }
ApiInput is an input type that accepts ApiArgs and ApiOutput values. You can construct a concrete instance of `ApiInput` via:
ApiArgs{...}
type ApiOutput ¶
type ApiOutput struct{ *pulumi.OutputState }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
func (ApiOutput) ElementType ¶
func (ApiOutput) Methods ¶
func (o ApiOutput) Methods() MethodArrayOutput
The methods of this interface, in unspecified order.
func (ApiOutput) Mixins ¶
func (o ApiOutput) Mixins() MixinArrayOutput
Included interfaces. See Mixin.
func (ApiOutput) Name ¶
func (o ApiOutput) Name() pulumi.StringPtrOutput
The fully qualified name of this interface, including package name followed by the interface's simple name.
func (ApiOutput) Options ¶
func (o ApiOutput) Options() OptionArrayOutput
Any metadata attached to the interface.
func (ApiOutput) SourceContext ¶
func (o ApiOutput) SourceContext() SourceContextPtrOutput
Source context for the protocol buffer service represented by this message.
func (ApiOutput) Syntax ¶
func (o ApiOutput) Syntax() pulumi.StringPtrOutput
The source syntax of the service.
func (ApiOutput) ToApiOutput ¶
func (ApiOutput) ToApiOutputWithContext ¶
func (ApiOutput) Version ¶
func (o ApiOutput) Version() pulumi.StringPtrOutput
A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces.
type ApiResponse ¶
type ApiResponse struct { // The methods of this interface, in unspecified order. Methods []MethodResponse `pulumi:"methods"` // Included interfaces. See Mixin. Mixins []MixinResponse `pulumi:"mixins"` // The fully qualified name of this interface, including package name followed by the interface's simple name. Name string `pulumi:"name"` // Any metadata attached to the interface. Options []OptionResponse `pulumi:"options"` // Source context for the protocol buffer service represented by this message. SourceContext SourceContextResponse `pulumi:"sourceContext"` // The source syntax of the service. Syntax string `pulumi:"syntax"` // A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. Version string `pulumi:"version"` }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
type ApiResponseArgs ¶
type ApiResponseArgs struct { // The methods of this interface, in unspecified order. Methods MethodResponseArrayInput `pulumi:"methods"` // Included interfaces. See Mixin. Mixins MixinResponseArrayInput `pulumi:"mixins"` // The fully qualified name of this interface, including package name followed by the interface's simple name. Name pulumi.StringInput `pulumi:"name"` // Any metadata attached to the interface. Options OptionResponseArrayInput `pulumi:"options"` // Source context for the protocol buffer service represented by this message. SourceContext SourceContextResponseInput `pulumi:"sourceContext"` // The source syntax of the service. Syntax pulumi.StringInput `pulumi:"syntax"` // A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. Version pulumi.StringInput `pulumi:"version"` }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
func (ApiResponseArgs) ElementType ¶
func (ApiResponseArgs) ElementType() reflect.Type
func (ApiResponseArgs) ToApiResponseOutput ¶
func (i ApiResponseArgs) ToApiResponseOutput() ApiResponseOutput
func (ApiResponseArgs) ToApiResponseOutputWithContext ¶
func (i ApiResponseArgs) ToApiResponseOutputWithContext(ctx context.Context) ApiResponseOutput
type ApiResponseArray ¶
type ApiResponseArray []ApiResponseInput
func (ApiResponseArray) ElementType ¶
func (ApiResponseArray) ElementType() reflect.Type
func (ApiResponseArray) ToApiResponseArrayOutput ¶
func (i ApiResponseArray) ToApiResponseArrayOutput() ApiResponseArrayOutput
func (ApiResponseArray) ToApiResponseArrayOutputWithContext ¶
func (i ApiResponseArray) ToApiResponseArrayOutputWithContext(ctx context.Context) ApiResponseArrayOutput
type ApiResponseArrayInput ¶
type ApiResponseArrayInput interface { pulumi.Input ToApiResponseArrayOutput() ApiResponseArrayOutput ToApiResponseArrayOutputWithContext(context.Context) ApiResponseArrayOutput }
ApiResponseArrayInput is an input type that accepts ApiResponseArray and ApiResponseArrayOutput values. You can construct a concrete instance of `ApiResponseArrayInput` via:
ApiResponseArray{ ApiResponseArgs{...} }
type ApiResponseArrayOutput ¶
type ApiResponseArrayOutput struct{ *pulumi.OutputState }
func (ApiResponseArrayOutput) ElementType ¶
func (ApiResponseArrayOutput) ElementType() reflect.Type
func (ApiResponseArrayOutput) Index ¶
func (o ApiResponseArrayOutput) Index(i pulumi.IntInput) ApiResponseOutput
func (ApiResponseArrayOutput) ToApiResponseArrayOutput ¶
func (o ApiResponseArrayOutput) ToApiResponseArrayOutput() ApiResponseArrayOutput
func (ApiResponseArrayOutput) ToApiResponseArrayOutputWithContext ¶
func (o ApiResponseArrayOutput) ToApiResponseArrayOutputWithContext(ctx context.Context) ApiResponseArrayOutput
type ApiResponseInput ¶
type ApiResponseInput interface { pulumi.Input ToApiResponseOutput() ApiResponseOutput ToApiResponseOutputWithContext(context.Context) ApiResponseOutput }
ApiResponseInput is an input type that accepts ApiResponseArgs and ApiResponseOutput values. You can construct a concrete instance of `ApiResponseInput` via:
ApiResponseArgs{...}
type ApiResponseOutput ¶
type ApiResponseOutput struct{ *pulumi.OutputState }
Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology.
func (ApiResponseOutput) ElementType ¶
func (ApiResponseOutput) ElementType() reflect.Type
func (ApiResponseOutput) Methods ¶
func (o ApiResponseOutput) Methods() MethodResponseArrayOutput
The methods of this interface, in unspecified order.
func (ApiResponseOutput) Mixins ¶
func (o ApiResponseOutput) Mixins() MixinResponseArrayOutput
Included interfaces. See Mixin.
func (ApiResponseOutput) Name ¶
func (o ApiResponseOutput) Name() pulumi.StringOutput
The fully qualified name of this interface, including package name followed by the interface's simple name.
func (ApiResponseOutput) Options ¶
func (o ApiResponseOutput) Options() OptionResponseArrayOutput
Any metadata attached to the interface.
func (ApiResponseOutput) SourceContext ¶
func (o ApiResponseOutput) SourceContext() SourceContextResponseOutput
Source context for the protocol buffer service represented by this message.
func (ApiResponseOutput) Syntax ¶
func (o ApiResponseOutput) Syntax() pulumi.StringOutput
The source syntax of the service.
func (ApiResponseOutput) ToApiResponseOutput ¶
func (o ApiResponseOutput) ToApiResponseOutput() ApiResponseOutput
func (ApiResponseOutput) ToApiResponseOutputWithContext ¶
func (o ApiResponseOutput) ToApiResponseOutputWithContext(ctx context.Context) ApiResponseOutput
func (ApiResponseOutput) Version ¶
func (o ApiResponseOutput) Version() pulumi.StringOutput
A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces.
type AuditConfig ¶
type AuditConfig struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfig `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service *string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
type AuditConfigArgs ¶
type AuditConfigArgs struct { // The configuration for logging of each type of permission. AuditLogConfigs AuditLogConfigArrayInput `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service pulumi.StringPtrInput `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
func (AuditConfigArgs) ElementType ¶
func (AuditConfigArgs) ElementType() reflect.Type
func (AuditConfigArgs) ToAuditConfigOutput ¶
func (i AuditConfigArgs) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigArgs) ToAuditConfigOutputWithContext ¶
func (i AuditConfigArgs) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigArray ¶
type AuditConfigArray []AuditConfigInput
func (AuditConfigArray) ElementType ¶
func (AuditConfigArray) ElementType() reflect.Type
func (AuditConfigArray) ToAuditConfigArrayOutput ¶
func (i AuditConfigArray) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArray) ToAuditConfigArrayOutputWithContext ¶
func (i AuditConfigArray) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigArrayInput ¶
type AuditConfigArrayInput interface { pulumi.Input ToAuditConfigArrayOutput() AuditConfigArrayOutput ToAuditConfigArrayOutputWithContext(context.Context) AuditConfigArrayOutput }
AuditConfigArrayInput is an input type that accepts AuditConfigArray and AuditConfigArrayOutput values. You can construct a concrete instance of `AuditConfigArrayInput` via:
AuditConfigArray{ AuditConfigArgs{...} }
type AuditConfigArrayOutput ¶
type AuditConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigArrayOutput) ElementType ¶
func (AuditConfigArrayOutput) ElementType() reflect.Type
func (AuditConfigArrayOutput) Index ¶
func (o AuditConfigArrayOutput) Index(i pulumi.IntInput) AuditConfigOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutput ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutput() AuditConfigArrayOutput
func (AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext ¶
func (o AuditConfigArrayOutput) ToAuditConfigArrayOutputWithContext(ctx context.Context) AuditConfigArrayOutput
type AuditConfigInput ¶
type AuditConfigInput interface { pulumi.Input ToAuditConfigOutput() AuditConfigOutput ToAuditConfigOutputWithContext(context.Context) AuditConfigOutput }
AuditConfigInput is an input type that accepts AuditConfigArgs and AuditConfigOutput values. You can construct a concrete instance of `AuditConfigInput` via:
AuditConfigArgs{...}
type AuditConfigOutput ¶
type AuditConfigOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
func (AuditConfigOutput) AuditLogConfigs ¶
func (o AuditConfigOutput) AuditLogConfigs() AuditLogConfigArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigOutput) ElementType ¶
func (AuditConfigOutput) ElementType() reflect.Type
func (AuditConfigOutput) Service ¶
func (o AuditConfigOutput) Service() pulumi.StringPtrOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigOutput) ToAuditConfigOutput ¶
func (o AuditConfigOutput) ToAuditConfigOutput() AuditConfigOutput
func (AuditConfigOutput) ToAuditConfigOutputWithContext ¶
func (o AuditConfigOutput) ToAuditConfigOutputWithContext(ctx context.Context) AuditConfigOutput
type AuditConfigResponse ¶
type AuditConfigResponse struct { // The configuration for logging of each type of permission. AuditLogConfigs []AuditLogConfigResponse `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service string `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
type AuditConfigResponseArgs ¶
type AuditConfigResponseArgs struct { // The configuration for logging of each type of permission. AuditLogConfigs AuditLogConfigResponseArrayInput `pulumi:"auditLogConfigs"` // Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. Service pulumi.StringInput `pulumi:"service"` }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
func (AuditConfigResponseArgs) ElementType ¶
func (AuditConfigResponseArgs) ElementType() reflect.Type
func (AuditConfigResponseArgs) ToAuditConfigResponseOutput ¶
func (i AuditConfigResponseArgs) ToAuditConfigResponseOutput() AuditConfigResponseOutput
func (AuditConfigResponseArgs) ToAuditConfigResponseOutputWithContext ¶
func (i AuditConfigResponseArgs) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
type AuditConfigResponseArray ¶
type AuditConfigResponseArray []AuditConfigResponseInput
func (AuditConfigResponseArray) ElementType ¶
func (AuditConfigResponseArray) ElementType() reflect.Type
func (AuditConfigResponseArray) ToAuditConfigResponseArrayOutput ¶
func (i AuditConfigResponseArray) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
func (AuditConfigResponseArray) ToAuditConfigResponseArrayOutputWithContext ¶
func (i AuditConfigResponseArray) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
type AuditConfigResponseArrayInput ¶
type AuditConfigResponseArrayInput interface { pulumi.Input ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput ToAuditConfigResponseArrayOutputWithContext(context.Context) AuditConfigResponseArrayOutput }
AuditConfigResponseArrayInput is an input type that accepts AuditConfigResponseArray and AuditConfigResponseArrayOutput values. You can construct a concrete instance of `AuditConfigResponseArrayInput` via:
AuditConfigResponseArray{ AuditConfigResponseArgs{...} }
type AuditConfigResponseArrayOutput ¶
type AuditConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditConfigResponseArrayOutput) ElementType ¶
func (AuditConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditConfigResponseArrayOutput) Index ¶
func (o AuditConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditConfigResponseOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutput() AuditConfigResponseArrayOutput
func (AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext ¶
func (o AuditConfigResponseArrayOutput) ToAuditConfigResponseArrayOutputWithContext(ctx context.Context) AuditConfigResponseArrayOutput
type AuditConfigResponseInput ¶
type AuditConfigResponseInput interface { pulumi.Input ToAuditConfigResponseOutput() AuditConfigResponseOutput ToAuditConfigResponseOutputWithContext(context.Context) AuditConfigResponseOutput }
AuditConfigResponseInput is an input type that accepts AuditConfigResponseArgs and AuditConfigResponseOutput values. You can construct a concrete instance of `AuditConfigResponseInput` via:
AuditConfigResponseArgs{...}
type AuditConfigResponseOutput ¶
type AuditConfigResponseOutput struct{ *pulumi.OutputState }
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
func (AuditConfigResponseOutput) AuditLogConfigs ¶
func (o AuditConfigResponseOutput) AuditLogConfigs() AuditLogConfigResponseArrayOutput
The configuration for logging of each type of permission.
func (AuditConfigResponseOutput) ElementType ¶
func (AuditConfigResponseOutput) ElementType() reflect.Type
func (AuditConfigResponseOutput) Service ¶
func (o AuditConfigResponseOutput) Service() pulumi.StringOutput
Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services.
func (AuditConfigResponseOutput) ToAuditConfigResponseOutput ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutput() AuditConfigResponseOutput
func (AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext ¶
func (o AuditConfigResponseOutput) ToAuditConfigResponseOutputWithContext(ctx context.Context) AuditConfigResponseOutput
type AuditLogConfig ¶
type AuditLogConfig struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType *string `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigArgs ¶
type AuditLogConfigArgs struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers pulumi.StringArrayInput `pulumi:"exemptedMembers"` // The log type that this config enables. LogType pulumi.StringPtrInput `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigArgs) ElementType ¶
func (AuditLogConfigArgs) ElementType() reflect.Type
func (AuditLogConfigArgs) ToAuditLogConfigOutput ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigArgs) ToAuditLogConfigOutputWithContext ¶
func (i AuditLogConfigArgs) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigArray ¶
type AuditLogConfigArray []AuditLogConfigInput
func (AuditLogConfigArray) ElementType ¶
func (AuditLogConfigArray) ElementType() reflect.Type
func (AuditLogConfigArray) ToAuditLogConfigArrayOutput ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext ¶
func (i AuditLogConfigArray) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigArrayInput ¶
type AuditLogConfigArrayInput interface { pulumi.Input ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput ToAuditLogConfigArrayOutputWithContext(context.Context) AuditLogConfigArrayOutput }
AuditLogConfigArrayInput is an input type that accepts AuditLogConfigArray and AuditLogConfigArrayOutput values. You can construct a concrete instance of `AuditLogConfigArrayInput` via:
AuditLogConfigArray{ AuditLogConfigArgs{...} }
type AuditLogConfigArrayOutput ¶
type AuditLogConfigArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigArrayOutput) ElementType ¶
func (AuditLogConfigArrayOutput) ElementType() reflect.Type
func (AuditLogConfigArrayOutput) Index ¶
func (o AuditLogConfigArrayOutput) Index(i pulumi.IntInput) AuditLogConfigOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutput() AuditLogConfigArrayOutput
func (AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext ¶
func (o AuditLogConfigArrayOutput) ToAuditLogConfigArrayOutputWithContext(ctx context.Context) AuditLogConfigArrayOutput
type AuditLogConfigInput ¶
type AuditLogConfigInput interface { pulumi.Input ToAuditLogConfigOutput() AuditLogConfigOutput ToAuditLogConfigOutputWithContext(context.Context) AuditLogConfigOutput }
AuditLogConfigInput is an input type that accepts AuditLogConfigArgs and AuditLogConfigOutput values. You can construct a concrete instance of `AuditLogConfigInput` via:
AuditLogConfigArgs{...}
type AuditLogConfigOutput ¶
type AuditLogConfigOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigOutput) ElementType ¶
func (AuditLogConfigOutput) ElementType() reflect.Type
func (AuditLogConfigOutput) ExemptedMembers ¶
func (o AuditLogConfigOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigOutput) LogType ¶
func (o AuditLogConfigOutput) LogType() pulumi.StringPtrOutput
The log type that this config enables.
func (AuditLogConfigOutput) ToAuditLogConfigOutput ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutput() AuditLogConfigOutput
func (AuditLogConfigOutput) ToAuditLogConfigOutputWithContext ¶
func (o AuditLogConfigOutput) ToAuditLogConfigOutputWithContext(ctx context.Context) AuditLogConfigOutput
type AuditLogConfigResponse ¶
type AuditLogConfigResponse struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers []string `pulumi:"exemptedMembers"` // The log type that this config enables. LogType string `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
type AuditLogConfigResponseArgs ¶
type AuditLogConfigResponseArgs struct { // Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. ExemptedMembers pulumi.StringArrayInput `pulumi:"exemptedMembers"` // The log type that this config enables. LogType pulumi.StringInput `pulumi:"logType"` }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigResponseArgs) ElementType ¶
func (AuditLogConfigResponseArgs) ElementType() reflect.Type
func (AuditLogConfigResponseArgs) ToAuditLogConfigResponseOutput ¶
func (i AuditLogConfigResponseArgs) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
func (AuditLogConfigResponseArgs) ToAuditLogConfigResponseOutputWithContext ¶
func (i AuditLogConfigResponseArgs) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
type AuditLogConfigResponseArray ¶
type AuditLogConfigResponseArray []AuditLogConfigResponseInput
func (AuditLogConfigResponseArray) ElementType ¶
func (AuditLogConfigResponseArray) ElementType() reflect.Type
func (AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutput ¶
func (i AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
func (AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutputWithContext ¶
func (i AuditLogConfigResponseArray) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
type AuditLogConfigResponseArrayInput ¶
type AuditLogConfigResponseArrayInput interface { pulumi.Input ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput ToAuditLogConfigResponseArrayOutputWithContext(context.Context) AuditLogConfigResponseArrayOutput }
AuditLogConfigResponseArrayInput is an input type that accepts AuditLogConfigResponseArray and AuditLogConfigResponseArrayOutput values. You can construct a concrete instance of `AuditLogConfigResponseArrayInput` via:
AuditLogConfigResponseArray{ AuditLogConfigResponseArgs{...} }
type AuditLogConfigResponseArrayOutput ¶
type AuditLogConfigResponseArrayOutput struct{ *pulumi.OutputState }
func (AuditLogConfigResponseArrayOutput) ElementType ¶
func (AuditLogConfigResponseArrayOutput) ElementType() reflect.Type
func (AuditLogConfigResponseArrayOutput) Index ¶
func (o AuditLogConfigResponseArrayOutput) Index(i pulumi.IntInput) AuditLogConfigResponseOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutput() AuditLogConfigResponseArrayOutput
func (AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext ¶
func (o AuditLogConfigResponseArrayOutput) ToAuditLogConfigResponseArrayOutputWithContext(ctx context.Context) AuditLogConfigResponseArrayOutput
type AuditLogConfigResponseInput ¶
type AuditLogConfigResponseInput interface { pulumi.Input ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput ToAuditLogConfigResponseOutputWithContext(context.Context) AuditLogConfigResponseOutput }
AuditLogConfigResponseInput is an input type that accepts AuditLogConfigResponseArgs and AuditLogConfigResponseOutput values. You can construct a concrete instance of `AuditLogConfigResponseInput` via:
AuditLogConfigResponseArgs{...}
type AuditLogConfigResponseOutput ¶
type AuditLogConfigResponseOutput struct{ *pulumi.OutputState }
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (AuditLogConfigResponseOutput) ElementType ¶
func (AuditLogConfigResponseOutput) ElementType() reflect.Type
func (AuditLogConfigResponseOutput) ExemptedMembers ¶
func (o AuditLogConfigResponseOutput) ExemptedMembers() pulumi.StringArrayOutput
Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
func (AuditLogConfigResponseOutput) LogType ¶
func (o AuditLogConfigResponseOutput) LogType() pulumi.StringOutput
The log type that this config enables.
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutput() AuditLogConfigResponseOutput
func (AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext ¶
func (o AuditLogConfigResponseOutput) ToAuditLogConfigResponseOutputWithContext(ctx context.Context) AuditLogConfigResponseOutput
type AuthProvider ¶
type AuthProvider struct { // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences *string `pulumi:"audiences"` // Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. AuthorizationUrl *string `pulumi:"authorizationUrl"` // The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: "bookstore_auth". Id *string `pulumi:"id"` // Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com Issuer *string `pulumi:"issuer"` // URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs JwksUri *string `pulumi:"jwksUri"` // Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token JwtLocations []JwtLocation `pulumi:"jwtLocations"` }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
type AuthProviderArgs ¶
type AuthProviderArgs struct { // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences pulumi.StringPtrInput `pulumi:"audiences"` // Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. AuthorizationUrl pulumi.StringPtrInput `pulumi:"authorizationUrl"` // The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: "bookstore_auth". Id pulumi.StringPtrInput `pulumi:"id"` // Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com Issuer pulumi.StringPtrInput `pulumi:"issuer"` // URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs JwksUri pulumi.StringPtrInput `pulumi:"jwksUri"` // Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token JwtLocations JwtLocationArrayInput `pulumi:"jwtLocations"` }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthProviderArgs) ElementType ¶
func (AuthProviderArgs) ElementType() reflect.Type
func (AuthProviderArgs) ToAuthProviderOutput ¶
func (i AuthProviderArgs) ToAuthProviderOutput() AuthProviderOutput
func (AuthProviderArgs) ToAuthProviderOutputWithContext ¶
func (i AuthProviderArgs) ToAuthProviderOutputWithContext(ctx context.Context) AuthProviderOutput
type AuthProviderArray ¶
type AuthProviderArray []AuthProviderInput
func (AuthProviderArray) ElementType ¶
func (AuthProviderArray) ElementType() reflect.Type
func (AuthProviderArray) ToAuthProviderArrayOutput ¶
func (i AuthProviderArray) ToAuthProviderArrayOutput() AuthProviderArrayOutput
func (AuthProviderArray) ToAuthProviderArrayOutputWithContext ¶
func (i AuthProviderArray) ToAuthProviderArrayOutputWithContext(ctx context.Context) AuthProviderArrayOutput
type AuthProviderArrayInput ¶
type AuthProviderArrayInput interface { pulumi.Input ToAuthProviderArrayOutput() AuthProviderArrayOutput ToAuthProviderArrayOutputWithContext(context.Context) AuthProviderArrayOutput }
AuthProviderArrayInput is an input type that accepts AuthProviderArray and AuthProviderArrayOutput values. You can construct a concrete instance of `AuthProviderArrayInput` via:
AuthProviderArray{ AuthProviderArgs{...} }
type AuthProviderArrayOutput ¶
type AuthProviderArrayOutput struct{ *pulumi.OutputState }
func (AuthProviderArrayOutput) ElementType ¶
func (AuthProviderArrayOutput) ElementType() reflect.Type
func (AuthProviderArrayOutput) Index ¶
func (o AuthProviderArrayOutput) Index(i pulumi.IntInput) AuthProviderOutput
func (AuthProviderArrayOutput) ToAuthProviderArrayOutput ¶
func (o AuthProviderArrayOutput) ToAuthProviderArrayOutput() AuthProviderArrayOutput
func (AuthProviderArrayOutput) ToAuthProviderArrayOutputWithContext ¶
func (o AuthProviderArrayOutput) ToAuthProviderArrayOutputWithContext(ctx context.Context) AuthProviderArrayOutput
type AuthProviderInput ¶
type AuthProviderInput interface { pulumi.Input ToAuthProviderOutput() AuthProviderOutput ToAuthProviderOutputWithContext(context.Context) AuthProviderOutput }
AuthProviderInput is an input type that accepts AuthProviderArgs and AuthProviderOutput values. You can construct a concrete instance of `AuthProviderInput` via:
AuthProviderArgs{...}
type AuthProviderOutput ¶
type AuthProviderOutput struct{ *pulumi.OutputState }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthProviderOutput) Audiences ¶
func (o AuthProviderOutput) Audiences() pulumi.StringPtrOutput
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
func (AuthProviderOutput) AuthorizationUrl ¶
func (o AuthProviderOutput) AuthorizationUrl() pulumi.StringPtrOutput
Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.
func (AuthProviderOutput) ElementType ¶
func (AuthProviderOutput) ElementType() reflect.Type
func (AuthProviderOutput) Id ¶
func (o AuthProviderOutput) Id() pulumi.StringPtrOutput
The unique identifier of the auth provider. It will be referred to by `AuthRequirement.provider_id`. Example: "bookstore_auth".
func (AuthProviderOutput) Issuer ¶
func (o AuthProviderOutput) Issuer() pulumi.StringPtrOutput
Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com
func (AuthProviderOutput) JwksUri ¶
func (o AuthProviderOutput) JwksUri() pulumi.StringPtrOutput
URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
func (AuthProviderOutput) JwtLocations ¶
func (o AuthProviderOutput) JwtLocations() JwtLocationArrayOutput
Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token
func (AuthProviderOutput) ToAuthProviderOutput ¶
func (o AuthProviderOutput) ToAuthProviderOutput() AuthProviderOutput
func (AuthProviderOutput) ToAuthProviderOutputWithContext ¶
func (o AuthProviderOutput) ToAuthProviderOutputWithContext(ctx context.Context) AuthProviderOutput
type AuthProviderResponse ¶
type AuthProviderResponse struct { // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences string `pulumi:"audiences"` // Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. AuthorizationUrl string `pulumi:"authorizationUrl"` // Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com Issuer string `pulumi:"issuer"` // URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs JwksUri string `pulumi:"jwksUri"` // Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token JwtLocations []JwtLocationResponse `pulumi:"jwtLocations"` }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
type AuthProviderResponseArgs ¶
type AuthProviderResponseArgs struct { // The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences pulumi.StringInput `pulumi:"audiences"` // Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec. AuthorizationUrl pulumi.StringInput `pulumi:"authorizationUrl"` // Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com Issuer pulumi.StringInput `pulumi:"issuer"` // URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs JwksUri pulumi.StringInput `pulumi:"jwksUri"` // Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token JwtLocations JwtLocationResponseArrayInput `pulumi:"jwtLocations"` }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthProviderResponseArgs) ElementType ¶
func (AuthProviderResponseArgs) ElementType() reflect.Type
func (AuthProviderResponseArgs) ToAuthProviderResponseOutput ¶
func (i AuthProviderResponseArgs) ToAuthProviderResponseOutput() AuthProviderResponseOutput
func (AuthProviderResponseArgs) ToAuthProviderResponseOutputWithContext ¶
func (i AuthProviderResponseArgs) ToAuthProviderResponseOutputWithContext(ctx context.Context) AuthProviderResponseOutput
type AuthProviderResponseArray ¶
type AuthProviderResponseArray []AuthProviderResponseInput
func (AuthProviderResponseArray) ElementType ¶
func (AuthProviderResponseArray) ElementType() reflect.Type
func (AuthProviderResponseArray) ToAuthProviderResponseArrayOutput ¶
func (i AuthProviderResponseArray) ToAuthProviderResponseArrayOutput() AuthProviderResponseArrayOutput
func (AuthProviderResponseArray) ToAuthProviderResponseArrayOutputWithContext ¶
func (i AuthProviderResponseArray) ToAuthProviderResponseArrayOutputWithContext(ctx context.Context) AuthProviderResponseArrayOutput
type AuthProviderResponseArrayInput ¶
type AuthProviderResponseArrayInput interface { pulumi.Input ToAuthProviderResponseArrayOutput() AuthProviderResponseArrayOutput ToAuthProviderResponseArrayOutputWithContext(context.Context) AuthProviderResponseArrayOutput }
AuthProviderResponseArrayInput is an input type that accepts AuthProviderResponseArray and AuthProviderResponseArrayOutput values. You can construct a concrete instance of `AuthProviderResponseArrayInput` via:
AuthProviderResponseArray{ AuthProviderResponseArgs{...} }
type AuthProviderResponseArrayOutput ¶
type AuthProviderResponseArrayOutput struct{ *pulumi.OutputState }
func (AuthProviderResponseArrayOutput) ElementType ¶
func (AuthProviderResponseArrayOutput) ElementType() reflect.Type
func (AuthProviderResponseArrayOutput) Index ¶
func (o AuthProviderResponseArrayOutput) Index(i pulumi.IntInput) AuthProviderResponseOutput
func (AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutput ¶
func (o AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutput() AuthProviderResponseArrayOutput
func (AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutputWithContext ¶
func (o AuthProviderResponseArrayOutput) ToAuthProviderResponseArrayOutputWithContext(ctx context.Context) AuthProviderResponseArrayOutput
type AuthProviderResponseInput ¶
type AuthProviderResponseInput interface { pulumi.Input ToAuthProviderResponseOutput() AuthProviderResponseOutput ToAuthProviderResponseOutputWithContext(context.Context) AuthProviderResponseOutput }
AuthProviderResponseInput is an input type that accepts AuthProviderResponseArgs and AuthProviderResponseOutput values. You can construct a concrete instance of `AuthProviderResponseInput` via:
AuthProviderResponseArgs{...}
type AuthProviderResponseOutput ¶
type AuthProviderResponseOutput struct{ *pulumi.OutputState }
Configuration for an authentication provider, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthProviderResponseOutput) Audiences ¶
func (o AuthProviderResponseOutput) Audiences() pulumi.StringOutput
The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, JWTs with audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[service.name]/" will be accepted. For example, if no audiences are in the setting, LibraryService API will accept JWTs with the following audiences: - https://library-example.googleapis.com/google.example.library.v1.LibraryService - https://library-example.googleapis.com/ Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
func (AuthProviderResponseOutput) AuthorizationUrl ¶
func (o AuthProviderResponseOutput) AuthorizationUrl() pulumi.StringOutput
Redirect URL if JWT token is required but not present or is expired. Implement authorizationUrl of securityDefinitions in OpenAPI spec.
func (AuthProviderResponseOutput) ElementType ¶
func (AuthProviderResponseOutput) ElementType() reflect.Type
func (AuthProviderResponseOutput) Issuer ¶
func (o AuthProviderResponseOutput) Issuer() pulumi.StringOutput
Identifies the principal that issued the JWT. See https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email address. Example: https://securetoken.google.com Example: 1234567-compute@developer.gserviceaccount.com
func (AuthProviderResponseOutput) JwksUri ¶
func (o AuthProviderResponseOutput) JwksUri() pulumi.StringOutput
URL of the provider's public key set to validate signature of the JWT. See [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata). Optional if the key set document: - can be retrieved from [OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html) of the issuer. - can be inferred from the email domain of the issuer (e.g. a Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
func (AuthProviderResponseOutput) JwtLocations ¶
func (o AuthProviderResponseOutput) JwtLocations() JwtLocationResponseArrayOutput
Defines the locations to extract the JWT. JWT locations can be either from HTTP headers or URL query parameters. The rule is that the first match wins. The checking order is: checking all headers first, then URL query parameters. If not specified, default to use following 3 locations: 1) Authorization: Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default locations can be specified as followings: jwt_locations: - header: Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion - query: access_token
func (AuthProviderResponseOutput) ToAuthProviderResponseOutput ¶
func (o AuthProviderResponseOutput) ToAuthProviderResponseOutput() AuthProviderResponseOutput
func (AuthProviderResponseOutput) ToAuthProviderResponseOutputWithContext ¶
func (o AuthProviderResponseOutput) ToAuthProviderResponseOutputWithContext(ctx context.Context) AuthProviderResponseOutput
type AuthRequirement ¶
type AuthRequirement struct { // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences *string `pulumi:"audiences"` // id from authentication provider. Example: provider_id: bookstore_auth ProviderId *string `pulumi:"providerId"` }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
type AuthRequirementArgs ¶
type AuthRequirementArgs struct { // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences pulumi.StringPtrInput `pulumi:"audiences"` // id from authentication provider. Example: provider_id: bookstore_auth ProviderId pulumi.StringPtrInput `pulumi:"providerId"` }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthRequirementArgs) ElementType ¶
func (AuthRequirementArgs) ElementType() reflect.Type
func (AuthRequirementArgs) ToAuthRequirementOutput ¶
func (i AuthRequirementArgs) ToAuthRequirementOutput() AuthRequirementOutput
func (AuthRequirementArgs) ToAuthRequirementOutputWithContext ¶
func (i AuthRequirementArgs) ToAuthRequirementOutputWithContext(ctx context.Context) AuthRequirementOutput
type AuthRequirementArray ¶
type AuthRequirementArray []AuthRequirementInput
func (AuthRequirementArray) ElementType ¶
func (AuthRequirementArray) ElementType() reflect.Type
func (AuthRequirementArray) ToAuthRequirementArrayOutput ¶
func (i AuthRequirementArray) ToAuthRequirementArrayOutput() AuthRequirementArrayOutput
func (AuthRequirementArray) ToAuthRequirementArrayOutputWithContext ¶
func (i AuthRequirementArray) ToAuthRequirementArrayOutputWithContext(ctx context.Context) AuthRequirementArrayOutput
type AuthRequirementArrayInput ¶
type AuthRequirementArrayInput interface { pulumi.Input ToAuthRequirementArrayOutput() AuthRequirementArrayOutput ToAuthRequirementArrayOutputWithContext(context.Context) AuthRequirementArrayOutput }
AuthRequirementArrayInput is an input type that accepts AuthRequirementArray and AuthRequirementArrayOutput values. You can construct a concrete instance of `AuthRequirementArrayInput` via:
AuthRequirementArray{ AuthRequirementArgs{...} }
type AuthRequirementArrayOutput ¶
type AuthRequirementArrayOutput struct{ *pulumi.OutputState }
func (AuthRequirementArrayOutput) ElementType ¶
func (AuthRequirementArrayOutput) ElementType() reflect.Type
func (AuthRequirementArrayOutput) Index ¶
func (o AuthRequirementArrayOutput) Index(i pulumi.IntInput) AuthRequirementOutput
func (AuthRequirementArrayOutput) ToAuthRequirementArrayOutput ¶
func (o AuthRequirementArrayOutput) ToAuthRequirementArrayOutput() AuthRequirementArrayOutput
func (AuthRequirementArrayOutput) ToAuthRequirementArrayOutputWithContext ¶
func (o AuthRequirementArrayOutput) ToAuthRequirementArrayOutputWithContext(ctx context.Context) AuthRequirementArrayOutput
type AuthRequirementInput ¶
type AuthRequirementInput interface { pulumi.Input ToAuthRequirementOutput() AuthRequirementOutput ToAuthRequirementOutputWithContext(context.Context) AuthRequirementOutput }
AuthRequirementInput is an input type that accepts AuthRequirementArgs and AuthRequirementOutput values. You can construct a concrete instance of `AuthRequirementInput` via:
AuthRequirementArgs{...}
type AuthRequirementOutput ¶
type AuthRequirementOutput struct{ *pulumi.OutputState }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthRequirementOutput) Audiences ¶
func (o AuthRequirementOutput) Audiences() pulumi.StringPtrOutput
NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
func (AuthRequirementOutput) ElementType ¶
func (AuthRequirementOutput) ElementType() reflect.Type
func (AuthRequirementOutput) ProviderId ¶
func (o AuthRequirementOutput) ProviderId() pulumi.StringPtrOutput
id from authentication provider. Example: provider_id: bookstore_auth
func (AuthRequirementOutput) ToAuthRequirementOutput ¶
func (o AuthRequirementOutput) ToAuthRequirementOutput() AuthRequirementOutput
func (AuthRequirementOutput) ToAuthRequirementOutputWithContext ¶
func (o AuthRequirementOutput) ToAuthRequirementOutputWithContext(ctx context.Context) AuthRequirementOutput
type AuthRequirementResponse ¶
type AuthRequirementResponse struct { // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences string `pulumi:"audiences"` // id from authentication provider. Example: provider_id: bookstore_auth ProviderId string `pulumi:"providerId"` }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
type AuthRequirementResponseArgs ¶
type AuthRequirementResponseArgs struct { // NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com Audiences pulumi.StringInput `pulumi:"audiences"` // id from authentication provider. Example: provider_id: bookstore_auth ProviderId pulumi.StringInput `pulumi:"providerId"` }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthRequirementResponseArgs) ElementType ¶
func (AuthRequirementResponseArgs) ElementType() reflect.Type
func (AuthRequirementResponseArgs) ToAuthRequirementResponseOutput ¶
func (i AuthRequirementResponseArgs) ToAuthRequirementResponseOutput() AuthRequirementResponseOutput
func (AuthRequirementResponseArgs) ToAuthRequirementResponseOutputWithContext ¶
func (i AuthRequirementResponseArgs) ToAuthRequirementResponseOutputWithContext(ctx context.Context) AuthRequirementResponseOutput
type AuthRequirementResponseArray ¶
type AuthRequirementResponseArray []AuthRequirementResponseInput
func (AuthRequirementResponseArray) ElementType ¶
func (AuthRequirementResponseArray) ElementType() reflect.Type
func (AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutput ¶
func (i AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutput() AuthRequirementResponseArrayOutput
func (AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutputWithContext ¶
func (i AuthRequirementResponseArray) ToAuthRequirementResponseArrayOutputWithContext(ctx context.Context) AuthRequirementResponseArrayOutput
type AuthRequirementResponseArrayInput ¶
type AuthRequirementResponseArrayInput interface { pulumi.Input ToAuthRequirementResponseArrayOutput() AuthRequirementResponseArrayOutput ToAuthRequirementResponseArrayOutputWithContext(context.Context) AuthRequirementResponseArrayOutput }
AuthRequirementResponseArrayInput is an input type that accepts AuthRequirementResponseArray and AuthRequirementResponseArrayOutput values. You can construct a concrete instance of `AuthRequirementResponseArrayInput` via:
AuthRequirementResponseArray{ AuthRequirementResponseArgs{...} }
type AuthRequirementResponseArrayOutput ¶
type AuthRequirementResponseArrayOutput struct{ *pulumi.OutputState }
func (AuthRequirementResponseArrayOutput) ElementType ¶
func (AuthRequirementResponseArrayOutput) ElementType() reflect.Type
func (AuthRequirementResponseArrayOutput) Index ¶
func (o AuthRequirementResponseArrayOutput) Index(i pulumi.IntInput) AuthRequirementResponseOutput
func (AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutput ¶
func (o AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutput() AuthRequirementResponseArrayOutput
func (AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutputWithContext ¶
func (o AuthRequirementResponseArrayOutput) ToAuthRequirementResponseArrayOutputWithContext(ctx context.Context) AuthRequirementResponseArrayOutput
type AuthRequirementResponseInput ¶
type AuthRequirementResponseInput interface { pulumi.Input ToAuthRequirementResponseOutput() AuthRequirementResponseOutput ToAuthRequirementResponseOutputWithContext(context.Context) AuthRequirementResponseOutput }
AuthRequirementResponseInput is an input type that accepts AuthRequirementResponseArgs and AuthRequirementResponseOutput values. You can construct a concrete instance of `AuthRequirementResponseInput` via:
AuthRequirementResponseArgs{...}
type AuthRequirementResponseOutput ¶
type AuthRequirementResponseOutput struct{ *pulumi.OutputState }
User-defined authentication requirements, including support for [JSON Web Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
func (AuthRequirementResponseOutput) Audiences ¶
func (o AuthRequirementResponseOutput) Audiences() pulumi.StringOutput
NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented and accepted in all the runtime components. The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that are allowed to access. A JWT containing any of these audiences will be accepted. When this setting is absent, only JWTs with audience "https://Service_name/API_name" will be accepted. For example, if no audiences are in the setting, LibraryService API will only accept JWTs with the following audience "https://library-example.googleapis.com/google.example.library.v1.LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.com, bookstore_web.apps.googleusercontent.com
func (AuthRequirementResponseOutput) ElementType ¶
func (AuthRequirementResponseOutput) ElementType() reflect.Type
func (AuthRequirementResponseOutput) ProviderId ¶
func (o AuthRequirementResponseOutput) ProviderId() pulumi.StringOutput
id from authentication provider. Example: provider_id: bookstore_auth
func (AuthRequirementResponseOutput) ToAuthRequirementResponseOutput ¶
func (o AuthRequirementResponseOutput) ToAuthRequirementResponseOutput() AuthRequirementResponseOutput
func (AuthRequirementResponseOutput) ToAuthRequirementResponseOutputWithContext ¶
func (o AuthRequirementResponseOutput) ToAuthRequirementResponseOutputWithContext(ctx context.Context) AuthRequirementResponseOutput
type Authentication ¶
type Authentication struct { // Defines a set of authentication providers that a service supports. Providers []AuthProvider `pulumi:"providers"` // A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []AuthenticationRule `pulumi:"rules"` }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
type AuthenticationArgs ¶
type AuthenticationArgs struct { // Defines a set of authentication providers that a service supports. Providers AuthProviderArrayInput `pulumi:"providers"` // A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules AuthenticationRuleArrayInput `pulumi:"rules"` }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
func (AuthenticationArgs) ElementType ¶
func (AuthenticationArgs) ElementType() reflect.Type
func (AuthenticationArgs) ToAuthenticationOutput ¶
func (i AuthenticationArgs) ToAuthenticationOutput() AuthenticationOutput
func (AuthenticationArgs) ToAuthenticationOutputWithContext ¶
func (i AuthenticationArgs) ToAuthenticationOutputWithContext(ctx context.Context) AuthenticationOutput
func (AuthenticationArgs) ToAuthenticationPtrOutput ¶
func (i AuthenticationArgs) ToAuthenticationPtrOutput() AuthenticationPtrOutput
func (AuthenticationArgs) ToAuthenticationPtrOutputWithContext ¶
func (i AuthenticationArgs) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
type AuthenticationInput ¶
type AuthenticationInput interface { pulumi.Input ToAuthenticationOutput() AuthenticationOutput ToAuthenticationOutputWithContext(context.Context) AuthenticationOutput }
AuthenticationInput is an input type that accepts AuthenticationArgs and AuthenticationOutput values. You can construct a concrete instance of `AuthenticationInput` via:
AuthenticationArgs{...}
type AuthenticationOutput ¶
type AuthenticationOutput struct{ *pulumi.OutputState }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
func (AuthenticationOutput) ElementType ¶
func (AuthenticationOutput) ElementType() reflect.Type
func (AuthenticationOutput) Providers ¶
func (o AuthenticationOutput) Providers() AuthProviderArrayOutput
Defines a set of authentication providers that a service supports.
func (AuthenticationOutput) Rules ¶
func (o AuthenticationOutput) Rules() AuthenticationRuleArrayOutput
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (AuthenticationOutput) ToAuthenticationOutput ¶
func (o AuthenticationOutput) ToAuthenticationOutput() AuthenticationOutput
func (AuthenticationOutput) ToAuthenticationOutputWithContext ¶
func (o AuthenticationOutput) ToAuthenticationOutputWithContext(ctx context.Context) AuthenticationOutput
func (AuthenticationOutput) ToAuthenticationPtrOutput ¶
func (o AuthenticationOutput) ToAuthenticationPtrOutput() AuthenticationPtrOutput
func (AuthenticationOutput) ToAuthenticationPtrOutputWithContext ¶
func (o AuthenticationOutput) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
type AuthenticationPtrInput ¶
type AuthenticationPtrInput interface { pulumi.Input ToAuthenticationPtrOutput() AuthenticationPtrOutput ToAuthenticationPtrOutputWithContext(context.Context) AuthenticationPtrOutput }
AuthenticationPtrInput is an input type that accepts AuthenticationArgs, AuthenticationPtr and AuthenticationPtrOutput values. You can construct a concrete instance of `AuthenticationPtrInput` via:
AuthenticationArgs{...} or: nil
func AuthenticationPtr ¶
func AuthenticationPtr(v *AuthenticationArgs) AuthenticationPtrInput
type AuthenticationPtrOutput ¶
type AuthenticationPtrOutput struct{ *pulumi.OutputState }
func (AuthenticationPtrOutput) Elem ¶
func (o AuthenticationPtrOutput) Elem() AuthenticationOutput
func (AuthenticationPtrOutput) ElementType ¶
func (AuthenticationPtrOutput) ElementType() reflect.Type
func (AuthenticationPtrOutput) Providers ¶
func (o AuthenticationPtrOutput) Providers() AuthProviderArrayOutput
Defines a set of authentication providers that a service supports.
func (AuthenticationPtrOutput) Rules ¶
func (o AuthenticationPtrOutput) Rules() AuthenticationRuleArrayOutput
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (AuthenticationPtrOutput) ToAuthenticationPtrOutput ¶
func (o AuthenticationPtrOutput) ToAuthenticationPtrOutput() AuthenticationPtrOutput
func (AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext ¶
func (o AuthenticationPtrOutput) ToAuthenticationPtrOutputWithContext(ctx context.Context) AuthenticationPtrOutput
type AuthenticationResponse ¶
type AuthenticationResponse struct { // Defines a set of authentication providers that a service supports. Providers []AuthProviderResponse `pulumi:"providers"` // A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []AuthenticationRuleResponse `pulumi:"rules"` }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
type AuthenticationResponseArgs ¶
type AuthenticationResponseArgs struct { // Defines a set of authentication providers that a service supports. Providers AuthProviderResponseArrayInput `pulumi:"providers"` // A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules AuthenticationRuleResponseArrayInput `pulumi:"rules"` }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
func (AuthenticationResponseArgs) ElementType ¶
func (AuthenticationResponseArgs) ElementType() reflect.Type
func (AuthenticationResponseArgs) ToAuthenticationResponseOutput ¶
func (i AuthenticationResponseArgs) ToAuthenticationResponseOutput() AuthenticationResponseOutput
func (AuthenticationResponseArgs) ToAuthenticationResponseOutputWithContext ¶
func (i AuthenticationResponseArgs) ToAuthenticationResponseOutputWithContext(ctx context.Context) AuthenticationResponseOutput
func (AuthenticationResponseArgs) ToAuthenticationResponsePtrOutput ¶
func (i AuthenticationResponseArgs) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
func (AuthenticationResponseArgs) ToAuthenticationResponsePtrOutputWithContext ¶
func (i AuthenticationResponseArgs) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
type AuthenticationResponseInput ¶
type AuthenticationResponseInput interface { pulumi.Input ToAuthenticationResponseOutput() AuthenticationResponseOutput ToAuthenticationResponseOutputWithContext(context.Context) AuthenticationResponseOutput }
AuthenticationResponseInput is an input type that accepts AuthenticationResponseArgs and AuthenticationResponseOutput values. You can construct a concrete instance of `AuthenticationResponseInput` via:
AuthenticationResponseArgs{...}
type AuthenticationResponseOutput ¶
type AuthenticationResponseOutput struct{ *pulumi.OutputState }
`Authentication` defines the authentication configuration for API methods provided by an API service. Example: name: calendar.googleapis.com authentication: providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*" requirements: provider_id: google_calendar_auth - selector: google.calendar.Delegate oauth: canonical_scopes: https://www.googleapis.com/auth/calendar.read
func (AuthenticationResponseOutput) ElementType ¶
func (AuthenticationResponseOutput) ElementType() reflect.Type
func (AuthenticationResponseOutput) Providers ¶
func (o AuthenticationResponseOutput) Providers() AuthProviderResponseArrayOutput
Defines a set of authentication providers that a service supports.
func (AuthenticationResponseOutput) Rules ¶
func (o AuthenticationResponseOutput) Rules() AuthenticationRuleResponseArrayOutput
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (AuthenticationResponseOutput) ToAuthenticationResponseOutput ¶
func (o AuthenticationResponseOutput) ToAuthenticationResponseOutput() AuthenticationResponseOutput
func (AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext ¶
func (o AuthenticationResponseOutput) ToAuthenticationResponseOutputWithContext(ctx context.Context) AuthenticationResponseOutput
func (AuthenticationResponseOutput) ToAuthenticationResponsePtrOutput ¶
func (o AuthenticationResponseOutput) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
func (AuthenticationResponseOutput) ToAuthenticationResponsePtrOutputWithContext ¶
func (o AuthenticationResponseOutput) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
type AuthenticationResponsePtrInput ¶
type AuthenticationResponsePtrInput interface { pulumi.Input ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput ToAuthenticationResponsePtrOutputWithContext(context.Context) AuthenticationResponsePtrOutput }
AuthenticationResponsePtrInput is an input type that accepts AuthenticationResponseArgs, AuthenticationResponsePtr and AuthenticationResponsePtrOutput values. You can construct a concrete instance of `AuthenticationResponsePtrInput` via:
AuthenticationResponseArgs{...} or: nil
func AuthenticationResponsePtr ¶
func AuthenticationResponsePtr(v *AuthenticationResponseArgs) AuthenticationResponsePtrInput
type AuthenticationResponsePtrOutput ¶
type AuthenticationResponsePtrOutput struct{ *pulumi.OutputState }
func (AuthenticationResponsePtrOutput) Elem ¶
func (o AuthenticationResponsePtrOutput) Elem() AuthenticationResponseOutput
func (AuthenticationResponsePtrOutput) ElementType ¶
func (AuthenticationResponsePtrOutput) ElementType() reflect.Type
func (AuthenticationResponsePtrOutput) Providers ¶
func (o AuthenticationResponsePtrOutput) Providers() AuthProviderResponseArrayOutput
Defines a set of authentication providers that a service supports.
func (AuthenticationResponsePtrOutput) Rules ¶
func (o AuthenticationResponsePtrOutput) Rules() AuthenticationRuleResponseArrayOutput
A list of authentication rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutput ¶
func (o AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutput() AuthenticationResponsePtrOutput
func (AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutputWithContext ¶
func (o AuthenticationResponsePtrOutput) ToAuthenticationResponsePtrOutputWithContext(ctx context.Context) AuthenticationResponsePtrOutput
type AuthenticationRule ¶
type AuthenticationRule struct { // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. AllowWithoutCredential *bool `pulumi:"allowWithoutCredential"` // The requirements for OAuth credentials. Oauth *OAuthRequirements `pulumi:"oauth"` // Requirements for additional authentication providers. Requirements []AuthRequirement `pulumi:"requirements"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
type AuthenticationRuleArgs ¶
type AuthenticationRuleArgs struct { // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. AllowWithoutCredential pulumi.BoolPtrInput `pulumi:"allowWithoutCredential"` // The requirements for OAuth credentials. Oauth OAuthRequirementsPtrInput `pulumi:"oauth"` // Requirements for additional authentication providers. Requirements AuthRequirementArrayInput `pulumi:"requirements"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
func (AuthenticationRuleArgs) ElementType ¶
func (AuthenticationRuleArgs) ElementType() reflect.Type
func (AuthenticationRuleArgs) ToAuthenticationRuleOutput ¶
func (i AuthenticationRuleArgs) ToAuthenticationRuleOutput() AuthenticationRuleOutput
func (AuthenticationRuleArgs) ToAuthenticationRuleOutputWithContext ¶
func (i AuthenticationRuleArgs) ToAuthenticationRuleOutputWithContext(ctx context.Context) AuthenticationRuleOutput
type AuthenticationRuleArray ¶
type AuthenticationRuleArray []AuthenticationRuleInput
func (AuthenticationRuleArray) ElementType ¶
func (AuthenticationRuleArray) ElementType() reflect.Type
func (AuthenticationRuleArray) ToAuthenticationRuleArrayOutput ¶
func (i AuthenticationRuleArray) ToAuthenticationRuleArrayOutput() AuthenticationRuleArrayOutput
func (AuthenticationRuleArray) ToAuthenticationRuleArrayOutputWithContext ¶
func (i AuthenticationRuleArray) ToAuthenticationRuleArrayOutputWithContext(ctx context.Context) AuthenticationRuleArrayOutput
type AuthenticationRuleArrayInput ¶
type AuthenticationRuleArrayInput interface { pulumi.Input ToAuthenticationRuleArrayOutput() AuthenticationRuleArrayOutput ToAuthenticationRuleArrayOutputWithContext(context.Context) AuthenticationRuleArrayOutput }
AuthenticationRuleArrayInput is an input type that accepts AuthenticationRuleArray and AuthenticationRuleArrayOutput values. You can construct a concrete instance of `AuthenticationRuleArrayInput` via:
AuthenticationRuleArray{ AuthenticationRuleArgs{...} }
type AuthenticationRuleArrayOutput ¶
type AuthenticationRuleArrayOutput struct{ *pulumi.OutputState }
func (AuthenticationRuleArrayOutput) ElementType ¶
func (AuthenticationRuleArrayOutput) ElementType() reflect.Type
func (AuthenticationRuleArrayOutput) Index ¶
func (o AuthenticationRuleArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleOutput
func (AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutput ¶
func (o AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutput() AuthenticationRuleArrayOutput
func (AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutputWithContext ¶
func (o AuthenticationRuleArrayOutput) ToAuthenticationRuleArrayOutputWithContext(ctx context.Context) AuthenticationRuleArrayOutput
type AuthenticationRuleInput ¶
type AuthenticationRuleInput interface { pulumi.Input ToAuthenticationRuleOutput() AuthenticationRuleOutput ToAuthenticationRuleOutputWithContext(context.Context) AuthenticationRuleOutput }
AuthenticationRuleInput is an input type that accepts AuthenticationRuleArgs and AuthenticationRuleOutput values. You can construct a concrete instance of `AuthenticationRuleInput` via:
AuthenticationRuleArgs{...}
type AuthenticationRuleOutput ¶
type AuthenticationRuleOutput struct{ *pulumi.OutputState }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
func (AuthenticationRuleOutput) AllowWithoutCredential ¶
func (o AuthenticationRuleOutput) AllowWithoutCredential() pulumi.BoolPtrOutput
If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
func (AuthenticationRuleOutput) ElementType ¶
func (AuthenticationRuleOutput) ElementType() reflect.Type
func (AuthenticationRuleOutput) Oauth ¶
func (o AuthenticationRuleOutput) Oauth() OAuthRequirementsPtrOutput
The requirements for OAuth credentials.
func (AuthenticationRuleOutput) Requirements ¶
func (o AuthenticationRuleOutput) Requirements() AuthRequirementArrayOutput
Requirements for additional authentication providers.
func (AuthenticationRuleOutput) Selector ¶
func (o AuthenticationRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (AuthenticationRuleOutput) ToAuthenticationRuleOutput ¶
func (o AuthenticationRuleOutput) ToAuthenticationRuleOutput() AuthenticationRuleOutput
func (AuthenticationRuleOutput) ToAuthenticationRuleOutputWithContext ¶
func (o AuthenticationRuleOutput) ToAuthenticationRuleOutputWithContext(ctx context.Context) AuthenticationRuleOutput
type AuthenticationRuleResponse ¶
type AuthenticationRuleResponse struct { // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. AllowWithoutCredential bool `pulumi:"allowWithoutCredential"` // The requirements for OAuth credentials. Oauth OAuthRequirementsResponse `pulumi:"oauth"` // Requirements for additional authentication providers. Requirements []AuthRequirementResponse `pulumi:"requirements"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
type AuthenticationRuleResponseArgs ¶
type AuthenticationRuleResponseArgs struct { // If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests. AllowWithoutCredential pulumi.BoolInput `pulumi:"allowWithoutCredential"` // The requirements for OAuth credentials. Oauth OAuthRequirementsResponseInput `pulumi:"oauth"` // Requirements for additional authentication providers. Requirements AuthRequirementResponseArrayInput `pulumi:"requirements"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
func (AuthenticationRuleResponseArgs) ElementType ¶
func (AuthenticationRuleResponseArgs) ElementType() reflect.Type
func (AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutput ¶
func (i AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutput() AuthenticationRuleResponseOutput
func (AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutputWithContext ¶
func (i AuthenticationRuleResponseArgs) ToAuthenticationRuleResponseOutputWithContext(ctx context.Context) AuthenticationRuleResponseOutput
type AuthenticationRuleResponseArray ¶
type AuthenticationRuleResponseArray []AuthenticationRuleResponseInput
func (AuthenticationRuleResponseArray) ElementType ¶
func (AuthenticationRuleResponseArray) ElementType() reflect.Type
func (AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutput ¶
func (i AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutput() AuthenticationRuleResponseArrayOutput
func (AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutputWithContext ¶
func (i AuthenticationRuleResponseArray) ToAuthenticationRuleResponseArrayOutputWithContext(ctx context.Context) AuthenticationRuleResponseArrayOutput
type AuthenticationRuleResponseArrayInput ¶
type AuthenticationRuleResponseArrayInput interface { pulumi.Input ToAuthenticationRuleResponseArrayOutput() AuthenticationRuleResponseArrayOutput ToAuthenticationRuleResponseArrayOutputWithContext(context.Context) AuthenticationRuleResponseArrayOutput }
AuthenticationRuleResponseArrayInput is an input type that accepts AuthenticationRuleResponseArray and AuthenticationRuleResponseArrayOutput values. You can construct a concrete instance of `AuthenticationRuleResponseArrayInput` via:
AuthenticationRuleResponseArray{ AuthenticationRuleResponseArgs{...} }
type AuthenticationRuleResponseArrayOutput ¶
type AuthenticationRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (AuthenticationRuleResponseArrayOutput) ElementType ¶
func (AuthenticationRuleResponseArrayOutput) ElementType() reflect.Type
func (AuthenticationRuleResponseArrayOutput) Index ¶
func (o AuthenticationRuleResponseArrayOutput) Index(i pulumi.IntInput) AuthenticationRuleResponseOutput
func (AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutput ¶
func (o AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutput() AuthenticationRuleResponseArrayOutput
func (AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutputWithContext ¶
func (o AuthenticationRuleResponseArrayOutput) ToAuthenticationRuleResponseArrayOutputWithContext(ctx context.Context) AuthenticationRuleResponseArrayOutput
type AuthenticationRuleResponseInput ¶
type AuthenticationRuleResponseInput interface { pulumi.Input ToAuthenticationRuleResponseOutput() AuthenticationRuleResponseOutput ToAuthenticationRuleResponseOutputWithContext(context.Context) AuthenticationRuleResponseOutput }
AuthenticationRuleResponseInput is an input type that accepts AuthenticationRuleResponseArgs and AuthenticationRuleResponseOutput values. You can construct a concrete instance of `AuthenticationRuleResponseInput` via:
AuthenticationRuleResponseArgs{...}
type AuthenticationRuleResponseOutput ¶
type AuthenticationRuleResponseOutput struct{ *pulumi.OutputState }
Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.
func (AuthenticationRuleResponseOutput) AllowWithoutCredential ¶
func (o AuthenticationRuleResponseOutput) AllowWithoutCredential() pulumi.BoolOutput
If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
func (AuthenticationRuleResponseOutput) ElementType ¶
func (AuthenticationRuleResponseOutput) ElementType() reflect.Type
func (AuthenticationRuleResponseOutput) Oauth ¶
func (o AuthenticationRuleResponseOutput) Oauth() OAuthRequirementsResponseOutput
The requirements for OAuth credentials.
func (AuthenticationRuleResponseOutput) Requirements ¶
func (o AuthenticationRuleResponseOutput) Requirements() AuthRequirementResponseArrayOutput
Requirements for additional authentication providers.
func (AuthenticationRuleResponseOutput) Selector ¶
func (o AuthenticationRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutput ¶
func (o AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutput() AuthenticationRuleResponseOutput
func (AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutputWithContext ¶
func (o AuthenticationRuleResponseOutput) ToAuthenticationRuleResponseOutputWithContext(ctx context.Context) AuthenticationRuleResponseOutput
type Backend ¶
type Backend struct { // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []BackendRule `pulumi:"rules"` }
`Backend` defines the backend configuration for a service.
type BackendArgs ¶
type BackendArgs struct { // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules BackendRuleArrayInput `pulumi:"rules"` }
`Backend` defines the backend configuration for a service.
func (BackendArgs) ElementType ¶
func (BackendArgs) ElementType() reflect.Type
func (BackendArgs) ToBackendOutput ¶
func (i BackendArgs) ToBackendOutput() BackendOutput
func (BackendArgs) ToBackendOutputWithContext ¶
func (i BackendArgs) ToBackendOutputWithContext(ctx context.Context) BackendOutput
func (BackendArgs) ToBackendPtrOutput ¶
func (i BackendArgs) ToBackendPtrOutput() BackendPtrOutput
func (BackendArgs) ToBackendPtrOutputWithContext ¶
func (i BackendArgs) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
type BackendInput ¶
type BackendInput interface { pulumi.Input ToBackendOutput() BackendOutput ToBackendOutputWithContext(context.Context) BackendOutput }
BackendInput is an input type that accepts BackendArgs and BackendOutput values. You can construct a concrete instance of `BackendInput` via:
BackendArgs{...}
type BackendOutput ¶
type BackendOutput struct{ *pulumi.OutputState }
`Backend` defines the backend configuration for a service.
func (BackendOutput) ElementType ¶
func (BackendOutput) ElementType() reflect.Type
func (BackendOutput) Rules ¶
func (o BackendOutput) Rules() BackendRuleArrayOutput
A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (BackendOutput) ToBackendOutput ¶
func (o BackendOutput) ToBackendOutput() BackendOutput
func (BackendOutput) ToBackendOutputWithContext ¶
func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOutput
func (BackendOutput) ToBackendPtrOutput ¶
func (o BackendOutput) ToBackendPtrOutput() BackendPtrOutput
func (BackendOutput) ToBackendPtrOutputWithContext ¶
func (o BackendOutput) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
type BackendPtrInput ¶
type BackendPtrInput interface { pulumi.Input ToBackendPtrOutput() BackendPtrOutput ToBackendPtrOutputWithContext(context.Context) BackendPtrOutput }
BackendPtrInput is an input type that accepts BackendArgs, BackendPtr and BackendPtrOutput values. You can construct a concrete instance of `BackendPtrInput` via:
BackendArgs{...} or: nil
func BackendPtr ¶
func BackendPtr(v *BackendArgs) BackendPtrInput
type BackendPtrOutput ¶
type BackendPtrOutput struct{ *pulumi.OutputState }
func (BackendPtrOutput) Elem ¶
func (o BackendPtrOutput) Elem() BackendOutput
func (BackendPtrOutput) ElementType ¶
func (BackendPtrOutput) ElementType() reflect.Type
func (BackendPtrOutput) Rules ¶
func (o BackendPtrOutput) Rules() BackendRuleArrayOutput
A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (BackendPtrOutput) ToBackendPtrOutput ¶
func (o BackendPtrOutput) ToBackendPtrOutput() BackendPtrOutput
func (BackendPtrOutput) ToBackendPtrOutputWithContext ¶
func (o BackendPtrOutput) ToBackendPtrOutputWithContext(ctx context.Context) BackendPtrOutput
type BackendResponse ¶
type BackendResponse struct { // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []BackendRuleResponse `pulumi:"rules"` }
`Backend` defines the backend configuration for a service.
type BackendResponseArgs ¶
type BackendResponseArgs struct { // A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules BackendRuleResponseArrayInput `pulumi:"rules"` }
`Backend` defines the backend configuration for a service.
func (BackendResponseArgs) ElementType ¶
func (BackendResponseArgs) ElementType() reflect.Type
func (BackendResponseArgs) ToBackendResponseOutput ¶
func (i BackendResponseArgs) ToBackendResponseOutput() BackendResponseOutput
func (BackendResponseArgs) ToBackendResponseOutputWithContext ¶
func (i BackendResponseArgs) ToBackendResponseOutputWithContext(ctx context.Context) BackendResponseOutput
func (BackendResponseArgs) ToBackendResponsePtrOutput ¶
func (i BackendResponseArgs) ToBackendResponsePtrOutput() BackendResponsePtrOutput
func (BackendResponseArgs) ToBackendResponsePtrOutputWithContext ¶
func (i BackendResponseArgs) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
type BackendResponseInput ¶
type BackendResponseInput interface { pulumi.Input ToBackendResponseOutput() BackendResponseOutput ToBackendResponseOutputWithContext(context.Context) BackendResponseOutput }
BackendResponseInput is an input type that accepts BackendResponseArgs and BackendResponseOutput values. You can construct a concrete instance of `BackendResponseInput` via:
BackendResponseArgs{...}
type BackendResponseOutput ¶
type BackendResponseOutput struct{ *pulumi.OutputState }
`Backend` defines the backend configuration for a service.
func (BackendResponseOutput) ElementType ¶
func (BackendResponseOutput) ElementType() reflect.Type
func (BackendResponseOutput) Rules ¶
func (o BackendResponseOutput) Rules() BackendRuleResponseArrayOutput
A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (BackendResponseOutput) ToBackendResponseOutput ¶
func (o BackendResponseOutput) ToBackendResponseOutput() BackendResponseOutput
func (BackendResponseOutput) ToBackendResponseOutputWithContext ¶
func (o BackendResponseOutput) ToBackendResponseOutputWithContext(ctx context.Context) BackendResponseOutput
func (BackendResponseOutput) ToBackendResponsePtrOutput ¶
func (o BackendResponseOutput) ToBackendResponsePtrOutput() BackendResponsePtrOutput
func (BackendResponseOutput) ToBackendResponsePtrOutputWithContext ¶
func (o BackendResponseOutput) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
type BackendResponsePtrInput ¶
type BackendResponsePtrInput interface { pulumi.Input ToBackendResponsePtrOutput() BackendResponsePtrOutput ToBackendResponsePtrOutputWithContext(context.Context) BackendResponsePtrOutput }
BackendResponsePtrInput is an input type that accepts BackendResponseArgs, BackendResponsePtr and BackendResponsePtrOutput values. You can construct a concrete instance of `BackendResponsePtrInput` via:
BackendResponseArgs{...} or: nil
func BackendResponsePtr ¶
func BackendResponsePtr(v *BackendResponseArgs) BackendResponsePtrInput
type BackendResponsePtrOutput ¶
type BackendResponsePtrOutput struct{ *pulumi.OutputState }
func (BackendResponsePtrOutput) Elem ¶
func (o BackendResponsePtrOutput) Elem() BackendResponseOutput
func (BackendResponsePtrOutput) ElementType ¶
func (BackendResponsePtrOutput) ElementType() reflect.Type
func (BackendResponsePtrOutput) Rules ¶
func (o BackendResponsePtrOutput) Rules() BackendRuleResponseArrayOutput
A list of API backend rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (BackendResponsePtrOutput) ToBackendResponsePtrOutput ¶
func (o BackendResponsePtrOutput) ToBackendResponsePtrOutput() BackendResponsePtrOutput
func (BackendResponsePtrOutput) ToBackendResponsePtrOutputWithContext ¶
func (o BackendResponsePtrOutput) ToBackendResponsePtrOutputWithContext(ctx context.Context) BackendResponsePtrOutput
type BackendRule ¶
type BackendRule struct { // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. Address *string `pulumi:"address"` // The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. Deadline *float64 `pulumi:"deadline"` // When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header. DisableAuth *bool `pulumi:"disableAuth"` // The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. JwtAudience *string `pulumi:"jwtAudience"` // Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected. MinDeadline *float64 `pulumi:"minDeadline"` // The number of seconds to wait for the completion of a long running operation. The default is no deadline. OperationDeadline *float64 `pulumi:"operationDeadline"` PathTranslation *string `pulumi:"pathTranslation"` // The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. Protocol *string `pulumi:"protocol"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
A backend rule provides configuration for an individual API element.
type BackendRuleArgs ¶
type BackendRuleArgs struct { // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. Address pulumi.StringPtrInput `pulumi:"address"` // The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. Deadline pulumi.Float64PtrInput `pulumi:"deadline"` // When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header. DisableAuth pulumi.BoolPtrInput `pulumi:"disableAuth"` // The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. JwtAudience pulumi.StringPtrInput `pulumi:"jwtAudience"` // Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected. MinDeadline pulumi.Float64PtrInput `pulumi:"minDeadline"` // The number of seconds to wait for the completion of a long running operation. The default is no deadline. OperationDeadline pulumi.Float64PtrInput `pulumi:"operationDeadline"` PathTranslation pulumi.StringPtrInput `pulumi:"pathTranslation"` // The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. Protocol pulumi.StringPtrInput `pulumi:"protocol"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
A backend rule provides configuration for an individual API element.
func (BackendRuleArgs) ElementType ¶
func (BackendRuleArgs) ElementType() reflect.Type
func (BackendRuleArgs) ToBackendRuleOutput ¶
func (i BackendRuleArgs) ToBackendRuleOutput() BackendRuleOutput
func (BackendRuleArgs) ToBackendRuleOutputWithContext ¶
func (i BackendRuleArgs) ToBackendRuleOutputWithContext(ctx context.Context) BackendRuleOutput
type BackendRuleArray ¶
type BackendRuleArray []BackendRuleInput
func (BackendRuleArray) ElementType ¶
func (BackendRuleArray) ElementType() reflect.Type
func (BackendRuleArray) ToBackendRuleArrayOutput ¶
func (i BackendRuleArray) ToBackendRuleArrayOutput() BackendRuleArrayOutput
func (BackendRuleArray) ToBackendRuleArrayOutputWithContext ¶
func (i BackendRuleArray) ToBackendRuleArrayOutputWithContext(ctx context.Context) BackendRuleArrayOutput
type BackendRuleArrayInput ¶
type BackendRuleArrayInput interface { pulumi.Input ToBackendRuleArrayOutput() BackendRuleArrayOutput ToBackendRuleArrayOutputWithContext(context.Context) BackendRuleArrayOutput }
BackendRuleArrayInput is an input type that accepts BackendRuleArray and BackendRuleArrayOutput values. You can construct a concrete instance of `BackendRuleArrayInput` via:
BackendRuleArray{ BackendRuleArgs{...} }
type BackendRuleArrayOutput ¶
type BackendRuleArrayOutput struct{ *pulumi.OutputState }
func (BackendRuleArrayOutput) ElementType ¶
func (BackendRuleArrayOutput) ElementType() reflect.Type
func (BackendRuleArrayOutput) Index ¶
func (o BackendRuleArrayOutput) Index(i pulumi.IntInput) BackendRuleOutput
func (BackendRuleArrayOutput) ToBackendRuleArrayOutput ¶
func (o BackendRuleArrayOutput) ToBackendRuleArrayOutput() BackendRuleArrayOutput
func (BackendRuleArrayOutput) ToBackendRuleArrayOutputWithContext ¶
func (o BackendRuleArrayOutput) ToBackendRuleArrayOutputWithContext(ctx context.Context) BackendRuleArrayOutput
type BackendRuleInput ¶
type BackendRuleInput interface { pulumi.Input ToBackendRuleOutput() BackendRuleOutput ToBackendRuleOutputWithContext(context.Context) BackendRuleOutput }
BackendRuleInput is an input type that accepts BackendRuleArgs and BackendRuleOutput values. You can construct a concrete instance of `BackendRuleInput` via:
BackendRuleArgs{...}
type BackendRuleOutput ¶
type BackendRuleOutput struct{ *pulumi.OutputState }
A backend rule provides configuration for an individual API element.
func (BackendRuleOutput) Address ¶
func (o BackendRuleOutput) Address() pulumi.StringPtrOutput
The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.
func (BackendRuleOutput) Deadline ¶
func (o BackendRuleOutput) Deadline() pulumi.Float64PtrOutput
The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.
func (BackendRuleOutput) DisableAuth ¶
func (o BackendRuleOutput) DisableAuth() pulumi.BoolPtrOutput
When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.
func (BackendRuleOutput) ElementType ¶
func (BackendRuleOutput) ElementType() reflect.Type
func (BackendRuleOutput) JwtAudience ¶
func (o BackendRuleOutput) JwtAudience() pulumi.StringPtrOutput
The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend.
func (BackendRuleOutput) MinDeadline ¶
func (o BackendRuleOutput) MinDeadline() pulumi.Float64PtrOutput
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
func (BackendRuleOutput) OperationDeadline ¶
func (o BackendRuleOutput) OperationDeadline() pulumi.Float64PtrOutput
The number of seconds to wait for the completion of a long running operation. The default is no deadline.
func (BackendRuleOutput) PathTranslation ¶
func (o BackendRuleOutput) PathTranslation() pulumi.StringPtrOutput
func (BackendRuleOutput) Protocol ¶
func (o BackendRuleOutput) Protocol() pulumi.StringPtrOutput
The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.
func (BackendRuleOutput) Selector ¶
func (o BackendRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (BackendRuleOutput) ToBackendRuleOutput ¶
func (o BackendRuleOutput) ToBackendRuleOutput() BackendRuleOutput
func (BackendRuleOutput) ToBackendRuleOutputWithContext ¶
func (o BackendRuleOutput) ToBackendRuleOutputWithContext(ctx context.Context) BackendRuleOutput
type BackendRuleResponse ¶
type BackendRuleResponse struct { // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. Address string `pulumi:"address"` // The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. Deadline float64 `pulumi:"deadline"` // When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header. DisableAuth bool `pulumi:"disableAuth"` // The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. JwtAudience string `pulumi:"jwtAudience"` // Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected. MinDeadline float64 `pulumi:"minDeadline"` // The number of seconds to wait for the completion of a long running operation. The default is no deadline. OperationDeadline float64 `pulumi:"operationDeadline"` PathTranslation string `pulumi:"pathTranslation"` // The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. Protocol string `pulumi:"protocol"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
A backend rule provides configuration for an individual API element.
type BackendRuleResponseArgs ¶
type BackendRuleResponseArgs struct { // The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version. Address pulumi.StringInput `pulumi:"address"` // The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment. Deadline pulumi.Float64Input `pulumi:"deadline"` // When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header. DisableAuth pulumi.BoolInput `pulumi:"disableAuth"` // The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend. JwtAudience pulumi.StringInput `pulumi:"jwtAudience"` // Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected. MinDeadline pulumi.Float64Input `pulumi:"minDeadline"` // The number of seconds to wait for the completion of a long running operation. The default is no deadline. OperationDeadline pulumi.Float64Input `pulumi:"operationDeadline"` PathTranslation pulumi.StringInput `pulumi:"pathTranslation"` // The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values. Protocol pulumi.StringInput `pulumi:"protocol"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
A backend rule provides configuration for an individual API element.
func (BackendRuleResponseArgs) ElementType ¶
func (BackendRuleResponseArgs) ElementType() reflect.Type
func (BackendRuleResponseArgs) ToBackendRuleResponseOutput ¶
func (i BackendRuleResponseArgs) ToBackendRuleResponseOutput() BackendRuleResponseOutput
func (BackendRuleResponseArgs) ToBackendRuleResponseOutputWithContext ¶
func (i BackendRuleResponseArgs) ToBackendRuleResponseOutputWithContext(ctx context.Context) BackendRuleResponseOutput
type BackendRuleResponseArray ¶
type BackendRuleResponseArray []BackendRuleResponseInput
func (BackendRuleResponseArray) ElementType ¶
func (BackendRuleResponseArray) ElementType() reflect.Type
func (BackendRuleResponseArray) ToBackendRuleResponseArrayOutput ¶
func (i BackendRuleResponseArray) ToBackendRuleResponseArrayOutput() BackendRuleResponseArrayOutput
func (BackendRuleResponseArray) ToBackendRuleResponseArrayOutputWithContext ¶
func (i BackendRuleResponseArray) ToBackendRuleResponseArrayOutputWithContext(ctx context.Context) BackendRuleResponseArrayOutput
type BackendRuleResponseArrayInput ¶
type BackendRuleResponseArrayInput interface { pulumi.Input ToBackendRuleResponseArrayOutput() BackendRuleResponseArrayOutput ToBackendRuleResponseArrayOutputWithContext(context.Context) BackendRuleResponseArrayOutput }
BackendRuleResponseArrayInput is an input type that accepts BackendRuleResponseArray and BackendRuleResponseArrayOutput values. You can construct a concrete instance of `BackendRuleResponseArrayInput` via:
BackendRuleResponseArray{ BackendRuleResponseArgs{...} }
type BackendRuleResponseArrayOutput ¶
type BackendRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (BackendRuleResponseArrayOutput) ElementType ¶
func (BackendRuleResponseArrayOutput) ElementType() reflect.Type
func (BackendRuleResponseArrayOutput) Index ¶
func (o BackendRuleResponseArrayOutput) Index(i pulumi.IntInput) BackendRuleResponseOutput
func (BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutput ¶
func (o BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutput() BackendRuleResponseArrayOutput
func (BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutputWithContext ¶
func (o BackendRuleResponseArrayOutput) ToBackendRuleResponseArrayOutputWithContext(ctx context.Context) BackendRuleResponseArrayOutput
type BackendRuleResponseInput ¶
type BackendRuleResponseInput interface { pulumi.Input ToBackendRuleResponseOutput() BackendRuleResponseOutput ToBackendRuleResponseOutputWithContext(context.Context) BackendRuleResponseOutput }
BackendRuleResponseInput is an input type that accepts BackendRuleResponseArgs and BackendRuleResponseOutput values. You can construct a concrete instance of `BackendRuleResponseInput` via:
BackendRuleResponseArgs{...}
type BackendRuleResponseOutput ¶
type BackendRuleResponseOutput struct{ *pulumi.OutputState }
A backend rule provides configuration for an individual API element.
func (BackendRuleResponseOutput) Address ¶
func (o BackendRuleResponseOutput) Address() pulumi.StringOutput
The address of the API backend. The scheme is used to determine the backend protocol and security. The following schemes are accepted: SCHEME PROTOCOL SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC TLS It is recommended to explicitly include a scheme. Leaving out the scheme may cause constrasting behaviors across platforms. If the port is unspecified, the default is: - 80 for schemes without TLS - 443 for schemes with TLS For HTTP backends, use protocol to specify the protocol version.
func (BackendRuleResponseOutput) Deadline ¶
func (o BackendRuleResponseOutput) Deadline() pulumi.Float64Output
The number of seconds to wait for a response from a request. The default varies based on the request protocol and deployment environment.
func (BackendRuleResponseOutput) DisableAuth ¶
func (o BackendRuleResponseOutput) DisableAuth() pulumi.BoolOutput
When disable_auth is true, a JWT ID token won't be generated and the original "Authorization" HTTP header will be preserved. If the header is used to carry the original token and is expected by the backend, this field must be set to true to preserve the header.
func (BackendRuleResponseOutput) ElementType ¶
func (BackendRuleResponseOutput) ElementType() reflect.Type
func (BackendRuleResponseOutput) JwtAudience ¶
func (o BackendRuleResponseOutput) JwtAudience() pulumi.StringOutput
The JWT audience is used when generating a JWT ID token for the backend. This ID token will be added in the HTTP "authorization" header, and sent to the backend.
func (BackendRuleResponseOutput) MinDeadline ¶
func (o BackendRuleResponseOutput) MinDeadline() pulumi.Float64Output
Minimum deadline in seconds needed for this method. Calls having deadline value lower than this will be rejected.
func (BackendRuleResponseOutput) OperationDeadline ¶
func (o BackendRuleResponseOutput) OperationDeadline() pulumi.Float64Output
The number of seconds to wait for the completion of a long running operation. The default is no deadline.
func (BackendRuleResponseOutput) PathTranslation ¶
func (o BackendRuleResponseOutput) PathTranslation() pulumi.StringOutput
func (BackendRuleResponseOutput) Protocol ¶
func (o BackendRuleResponseOutput) Protocol() pulumi.StringOutput
The protocol used for sending a request to the backend. The supported values are "http/1.1" and "h2". The default value is inferred from the scheme in the address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2 grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this field to "h2" for improved performance. Configuring this field to non-default values is only supported for secure HTTP backends. This field will be ignored for all other backends. See https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on the supported values.
func (BackendRuleResponseOutput) Selector ¶
func (o BackendRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (BackendRuleResponseOutput) ToBackendRuleResponseOutput ¶
func (o BackendRuleResponseOutput) ToBackendRuleResponseOutput() BackendRuleResponseOutput
func (BackendRuleResponseOutput) ToBackendRuleResponseOutputWithContext ¶
func (o BackendRuleResponseOutput) ToBackendRuleResponseOutputWithContext(ctx context.Context) BackendRuleResponseOutput
type Billing ¶
type Billing struct { // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. ConsumerDestinations []BillingDestination `pulumi:"consumerDestinations"` }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
type BillingArgs ¶
type BillingArgs struct { // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. ConsumerDestinations BillingDestinationArrayInput `pulumi:"consumerDestinations"` }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
func (BillingArgs) ElementType ¶
func (BillingArgs) ElementType() reflect.Type
func (BillingArgs) ToBillingOutput ¶
func (i BillingArgs) ToBillingOutput() BillingOutput
func (BillingArgs) ToBillingOutputWithContext ¶
func (i BillingArgs) ToBillingOutputWithContext(ctx context.Context) BillingOutput
func (BillingArgs) ToBillingPtrOutput ¶
func (i BillingArgs) ToBillingPtrOutput() BillingPtrOutput
func (BillingArgs) ToBillingPtrOutputWithContext ¶
func (i BillingArgs) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
type BillingDestination ¶
type BillingDestination struct { // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. Metrics []string `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource *string `pulumi:"monitoredResource"` }
Configuration of a specific billing destination (Currently only support bill against consumer project).
type BillingDestinationArgs ¶
type BillingDestinationArgs struct { // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. Metrics pulumi.StringArrayInput `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource pulumi.StringPtrInput `pulumi:"monitoredResource"` }
Configuration of a specific billing destination (Currently only support bill against consumer project).
func (BillingDestinationArgs) ElementType ¶
func (BillingDestinationArgs) ElementType() reflect.Type
func (BillingDestinationArgs) ToBillingDestinationOutput ¶
func (i BillingDestinationArgs) ToBillingDestinationOutput() BillingDestinationOutput
func (BillingDestinationArgs) ToBillingDestinationOutputWithContext ¶
func (i BillingDestinationArgs) ToBillingDestinationOutputWithContext(ctx context.Context) BillingDestinationOutput
type BillingDestinationArray ¶
type BillingDestinationArray []BillingDestinationInput
func (BillingDestinationArray) ElementType ¶
func (BillingDestinationArray) ElementType() reflect.Type
func (BillingDestinationArray) ToBillingDestinationArrayOutput ¶
func (i BillingDestinationArray) ToBillingDestinationArrayOutput() BillingDestinationArrayOutput
func (BillingDestinationArray) ToBillingDestinationArrayOutputWithContext ¶
func (i BillingDestinationArray) ToBillingDestinationArrayOutputWithContext(ctx context.Context) BillingDestinationArrayOutput
type BillingDestinationArrayInput ¶
type BillingDestinationArrayInput interface { pulumi.Input ToBillingDestinationArrayOutput() BillingDestinationArrayOutput ToBillingDestinationArrayOutputWithContext(context.Context) BillingDestinationArrayOutput }
BillingDestinationArrayInput is an input type that accepts BillingDestinationArray and BillingDestinationArrayOutput values. You can construct a concrete instance of `BillingDestinationArrayInput` via:
BillingDestinationArray{ BillingDestinationArgs{...} }
type BillingDestinationArrayOutput ¶
type BillingDestinationArrayOutput struct{ *pulumi.OutputState }
func (BillingDestinationArrayOutput) ElementType ¶
func (BillingDestinationArrayOutput) ElementType() reflect.Type
func (BillingDestinationArrayOutput) Index ¶
func (o BillingDestinationArrayOutput) Index(i pulumi.IntInput) BillingDestinationOutput
func (BillingDestinationArrayOutput) ToBillingDestinationArrayOutput ¶
func (o BillingDestinationArrayOutput) ToBillingDestinationArrayOutput() BillingDestinationArrayOutput
func (BillingDestinationArrayOutput) ToBillingDestinationArrayOutputWithContext ¶
func (o BillingDestinationArrayOutput) ToBillingDestinationArrayOutputWithContext(ctx context.Context) BillingDestinationArrayOutput
type BillingDestinationInput ¶
type BillingDestinationInput interface { pulumi.Input ToBillingDestinationOutput() BillingDestinationOutput ToBillingDestinationOutputWithContext(context.Context) BillingDestinationOutput }
BillingDestinationInput is an input type that accepts BillingDestinationArgs and BillingDestinationOutput values. You can construct a concrete instance of `BillingDestinationInput` via:
BillingDestinationArgs{...}
type BillingDestinationOutput ¶
type BillingDestinationOutput struct{ *pulumi.OutputState }
Configuration of a specific billing destination (Currently only support bill against consumer project).
func (BillingDestinationOutput) ElementType ¶
func (BillingDestinationOutput) ElementType() reflect.Type
func (BillingDestinationOutput) Metrics ¶
func (o BillingDestinationOutput) Metrics() pulumi.StringArrayOutput
Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.
func (BillingDestinationOutput) MonitoredResource ¶
func (o BillingDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
The monitored resource type. The type must be defined in Service.monitored_resources section.
func (BillingDestinationOutput) ToBillingDestinationOutput ¶
func (o BillingDestinationOutput) ToBillingDestinationOutput() BillingDestinationOutput
func (BillingDestinationOutput) ToBillingDestinationOutputWithContext ¶
func (o BillingDestinationOutput) ToBillingDestinationOutputWithContext(ctx context.Context) BillingDestinationOutput
type BillingDestinationResponse ¶
type BillingDestinationResponse struct { // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. Metrics []string `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource string `pulumi:"monitoredResource"` }
Configuration of a specific billing destination (Currently only support bill against consumer project).
type BillingDestinationResponseArgs ¶
type BillingDestinationResponseArgs struct { // Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section. Metrics pulumi.StringArrayInput `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource pulumi.StringInput `pulumi:"monitoredResource"` }
Configuration of a specific billing destination (Currently only support bill against consumer project).
func (BillingDestinationResponseArgs) ElementType ¶
func (BillingDestinationResponseArgs) ElementType() reflect.Type
func (BillingDestinationResponseArgs) ToBillingDestinationResponseOutput ¶
func (i BillingDestinationResponseArgs) ToBillingDestinationResponseOutput() BillingDestinationResponseOutput
func (BillingDestinationResponseArgs) ToBillingDestinationResponseOutputWithContext ¶
func (i BillingDestinationResponseArgs) ToBillingDestinationResponseOutputWithContext(ctx context.Context) BillingDestinationResponseOutput
type BillingDestinationResponseArray ¶
type BillingDestinationResponseArray []BillingDestinationResponseInput
func (BillingDestinationResponseArray) ElementType ¶
func (BillingDestinationResponseArray) ElementType() reflect.Type
func (BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutput ¶
func (i BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutput() BillingDestinationResponseArrayOutput
func (BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutputWithContext ¶
func (i BillingDestinationResponseArray) ToBillingDestinationResponseArrayOutputWithContext(ctx context.Context) BillingDestinationResponseArrayOutput
type BillingDestinationResponseArrayInput ¶
type BillingDestinationResponseArrayInput interface { pulumi.Input ToBillingDestinationResponseArrayOutput() BillingDestinationResponseArrayOutput ToBillingDestinationResponseArrayOutputWithContext(context.Context) BillingDestinationResponseArrayOutput }
BillingDestinationResponseArrayInput is an input type that accepts BillingDestinationResponseArray and BillingDestinationResponseArrayOutput values. You can construct a concrete instance of `BillingDestinationResponseArrayInput` via:
BillingDestinationResponseArray{ BillingDestinationResponseArgs{...} }
type BillingDestinationResponseArrayOutput ¶
type BillingDestinationResponseArrayOutput struct{ *pulumi.OutputState }
func (BillingDestinationResponseArrayOutput) ElementType ¶
func (BillingDestinationResponseArrayOutput) ElementType() reflect.Type
func (BillingDestinationResponseArrayOutput) Index ¶
func (o BillingDestinationResponseArrayOutput) Index(i pulumi.IntInput) BillingDestinationResponseOutput
func (BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutput ¶
func (o BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutput() BillingDestinationResponseArrayOutput
func (BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutputWithContext ¶
func (o BillingDestinationResponseArrayOutput) ToBillingDestinationResponseArrayOutputWithContext(ctx context.Context) BillingDestinationResponseArrayOutput
type BillingDestinationResponseInput ¶
type BillingDestinationResponseInput interface { pulumi.Input ToBillingDestinationResponseOutput() BillingDestinationResponseOutput ToBillingDestinationResponseOutputWithContext(context.Context) BillingDestinationResponseOutput }
BillingDestinationResponseInput is an input type that accepts BillingDestinationResponseArgs and BillingDestinationResponseOutput values. You can construct a concrete instance of `BillingDestinationResponseInput` via:
BillingDestinationResponseArgs{...}
type BillingDestinationResponseOutput ¶
type BillingDestinationResponseOutput struct{ *pulumi.OutputState }
Configuration of a specific billing destination (Currently only support bill against consumer project).
func (BillingDestinationResponseOutput) ElementType ¶
func (BillingDestinationResponseOutput) ElementType() reflect.Type
func (BillingDestinationResponseOutput) Metrics ¶
func (o BillingDestinationResponseOutput) Metrics() pulumi.StringArrayOutput
Names of the metrics to report to this billing destination. Each name must be defined in Service.metrics section.
func (BillingDestinationResponseOutput) MonitoredResource ¶
func (o BillingDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
The monitored resource type. The type must be defined in Service.monitored_resources section.
func (BillingDestinationResponseOutput) ToBillingDestinationResponseOutput ¶
func (o BillingDestinationResponseOutput) ToBillingDestinationResponseOutput() BillingDestinationResponseOutput
func (BillingDestinationResponseOutput) ToBillingDestinationResponseOutputWithContext ¶
func (o BillingDestinationResponseOutput) ToBillingDestinationResponseOutputWithContext(ctx context.Context) BillingDestinationResponseOutput
type BillingInput ¶
type BillingInput interface { pulumi.Input ToBillingOutput() BillingOutput ToBillingOutputWithContext(context.Context) BillingOutput }
BillingInput is an input type that accepts BillingArgs and BillingOutput values. You can construct a concrete instance of `BillingInput` via:
BillingArgs{...}
type BillingOutput ¶
type BillingOutput struct{ *pulumi.OutputState }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
func (BillingOutput) ConsumerDestinations ¶
func (o BillingOutput) ConsumerDestinations() BillingDestinationArrayOutput
Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.
func (BillingOutput) ElementType ¶
func (BillingOutput) ElementType() reflect.Type
func (BillingOutput) ToBillingOutput ¶
func (o BillingOutput) ToBillingOutput() BillingOutput
func (BillingOutput) ToBillingOutputWithContext ¶
func (o BillingOutput) ToBillingOutputWithContext(ctx context.Context) BillingOutput
func (BillingOutput) ToBillingPtrOutput ¶
func (o BillingOutput) ToBillingPtrOutput() BillingPtrOutput
func (BillingOutput) ToBillingPtrOutputWithContext ¶
func (o BillingOutput) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
type BillingPtrInput ¶
type BillingPtrInput interface { pulumi.Input ToBillingPtrOutput() BillingPtrOutput ToBillingPtrOutputWithContext(context.Context) BillingPtrOutput }
BillingPtrInput is an input type that accepts BillingArgs, BillingPtr and BillingPtrOutput values. You can construct a concrete instance of `BillingPtrInput` via:
BillingArgs{...} or: nil
func BillingPtr ¶
func BillingPtr(v *BillingArgs) BillingPtrInput
type BillingPtrOutput ¶
type BillingPtrOutput struct{ *pulumi.OutputState }
func (BillingPtrOutput) ConsumerDestinations ¶
func (o BillingPtrOutput) ConsumerDestinations() BillingDestinationArrayOutput
Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.
func (BillingPtrOutput) Elem ¶
func (o BillingPtrOutput) Elem() BillingOutput
func (BillingPtrOutput) ElementType ¶
func (BillingPtrOutput) ElementType() reflect.Type
func (BillingPtrOutput) ToBillingPtrOutput ¶
func (o BillingPtrOutput) ToBillingPtrOutput() BillingPtrOutput
func (BillingPtrOutput) ToBillingPtrOutputWithContext ¶
func (o BillingPtrOutput) ToBillingPtrOutputWithContext(ctx context.Context) BillingPtrOutput
type BillingResponse ¶
type BillingResponse struct { // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. ConsumerDestinations []BillingDestinationResponse `pulumi:"consumerDestinations"` }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
type BillingResponseArgs ¶
type BillingResponseArgs struct { // Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination. ConsumerDestinations BillingDestinationResponseArrayInput `pulumi:"consumerDestinations"` }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
func (BillingResponseArgs) ElementType ¶
func (BillingResponseArgs) ElementType() reflect.Type
func (BillingResponseArgs) ToBillingResponseOutput ¶
func (i BillingResponseArgs) ToBillingResponseOutput() BillingResponseOutput
func (BillingResponseArgs) ToBillingResponseOutputWithContext ¶
func (i BillingResponseArgs) ToBillingResponseOutputWithContext(ctx context.Context) BillingResponseOutput
func (BillingResponseArgs) ToBillingResponsePtrOutput ¶
func (i BillingResponseArgs) ToBillingResponsePtrOutput() BillingResponsePtrOutput
func (BillingResponseArgs) ToBillingResponsePtrOutputWithContext ¶
func (i BillingResponseArgs) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
type BillingResponseInput ¶
type BillingResponseInput interface { pulumi.Input ToBillingResponseOutput() BillingResponseOutput ToBillingResponseOutputWithContext(context.Context) BillingResponseOutput }
BillingResponseInput is an input type that accepts BillingResponseArgs and BillingResponseOutput values. You can construct a concrete instance of `BillingResponseInput` via:
BillingResponseArgs{...}
type BillingResponseOutput ¶
type BillingResponseOutput struct{ *pulumi.OutputState }
Billing related configuration of the service. The following example shows how to configure monitored resources and metrics for billing, `consumer_destinations` is the only supported destination and the monitored resources need at least one label key `cloud.googleapis.com/location` to indicate the location of the billing usage, using different monitored resources between monitoring and billing is recommended so they can be evolved independently: monitored_resources: - type: library.googleapis.com/billing_branch labels: - key: cloud.googleapis.com/location description: | Predefined label to support billing location restriction. - key: city description: | Custom label to define the city where the library branch is located in. - key: name description: Custom label to define the name of the library branch. metrics: - name: library.googleapis.com/book/borrowed_count metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations: - monitored_resource: library.googleapis.com/billing_branch metrics: - library.googleapis.com/book/borrowed_count
func (BillingResponseOutput) ConsumerDestinations ¶
func (o BillingResponseOutput) ConsumerDestinations() BillingDestinationResponseArrayOutput
Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.
func (BillingResponseOutput) ElementType ¶
func (BillingResponseOutput) ElementType() reflect.Type
func (BillingResponseOutput) ToBillingResponseOutput ¶
func (o BillingResponseOutput) ToBillingResponseOutput() BillingResponseOutput
func (BillingResponseOutput) ToBillingResponseOutputWithContext ¶
func (o BillingResponseOutput) ToBillingResponseOutputWithContext(ctx context.Context) BillingResponseOutput
func (BillingResponseOutput) ToBillingResponsePtrOutput ¶
func (o BillingResponseOutput) ToBillingResponsePtrOutput() BillingResponsePtrOutput
func (BillingResponseOutput) ToBillingResponsePtrOutputWithContext ¶
func (o BillingResponseOutput) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
type BillingResponsePtrInput ¶
type BillingResponsePtrInput interface { pulumi.Input ToBillingResponsePtrOutput() BillingResponsePtrOutput ToBillingResponsePtrOutputWithContext(context.Context) BillingResponsePtrOutput }
BillingResponsePtrInput is an input type that accepts BillingResponseArgs, BillingResponsePtr and BillingResponsePtrOutput values. You can construct a concrete instance of `BillingResponsePtrInput` via:
BillingResponseArgs{...} or: nil
func BillingResponsePtr ¶
func BillingResponsePtr(v *BillingResponseArgs) BillingResponsePtrInput
type BillingResponsePtrOutput ¶
type BillingResponsePtrOutput struct{ *pulumi.OutputState }
func (BillingResponsePtrOutput) ConsumerDestinations ¶
func (o BillingResponsePtrOutput) ConsumerDestinations() BillingDestinationResponseArrayOutput
Billing configurations for sending metrics to the consumer project. There can be multiple consumer destinations per service, each one must have a different monitored resource type. A metric can be used in at most one consumer destination.
func (BillingResponsePtrOutput) Elem ¶
func (o BillingResponsePtrOutput) Elem() BillingResponseOutput
func (BillingResponsePtrOutput) ElementType ¶
func (BillingResponsePtrOutput) ElementType() reflect.Type
func (BillingResponsePtrOutput) ToBillingResponsePtrOutput ¶
func (o BillingResponsePtrOutput) ToBillingResponsePtrOutput() BillingResponsePtrOutput
func (BillingResponsePtrOutput) ToBillingResponsePtrOutputWithContext ¶
func (o BillingResponsePtrOutput) ToBillingResponsePtrOutputWithContext(ctx context.Context) BillingResponsePtrOutput
type Binding ¶
type Binding struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `pulumi:"condition"` // Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role *string `pulumi:"role"` }
Associates `members` with a `role`.
type BindingArgs ¶
type BindingArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprPtrInput `pulumi:"condition"` // Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringPtrInput `pulumi:"role"` }
Associates `members` with a `role`.
func (BindingArgs) ElementType ¶
func (BindingArgs) ElementType() reflect.Type
func (BindingArgs) ToBindingOutput ¶
func (i BindingArgs) ToBindingOutput() BindingOutput
func (BindingArgs) ToBindingOutputWithContext ¶
func (i BindingArgs) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingArray ¶
type BindingArray []BindingInput
func (BindingArray) ElementType ¶
func (BindingArray) ElementType() reflect.Type
func (BindingArray) ToBindingArrayOutput ¶
func (i BindingArray) ToBindingArrayOutput() BindingArrayOutput
func (BindingArray) ToBindingArrayOutputWithContext ¶
func (i BindingArray) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingArrayInput ¶
type BindingArrayInput interface { pulumi.Input ToBindingArrayOutput() BindingArrayOutput ToBindingArrayOutputWithContext(context.Context) BindingArrayOutput }
BindingArrayInput is an input type that accepts BindingArray and BindingArrayOutput values. You can construct a concrete instance of `BindingArrayInput` via:
BindingArray{ BindingArgs{...} }
type BindingArrayOutput ¶
type BindingArrayOutput struct{ *pulumi.OutputState }
func (BindingArrayOutput) ElementType ¶
func (BindingArrayOutput) ElementType() reflect.Type
func (BindingArrayOutput) Index ¶
func (o BindingArrayOutput) Index(i pulumi.IntInput) BindingOutput
func (BindingArrayOutput) ToBindingArrayOutput ¶
func (o BindingArrayOutput) ToBindingArrayOutput() BindingArrayOutput
func (BindingArrayOutput) ToBindingArrayOutputWithContext ¶
func (o BindingArrayOutput) ToBindingArrayOutputWithContext(ctx context.Context) BindingArrayOutput
type BindingInput ¶
type BindingInput interface { pulumi.Input ToBindingOutput() BindingOutput ToBindingOutputWithContext(context.Context) BindingOutput }
BindingInput is an input type that accepts BindingArgs and BindingOutput values. You can construct a concrete instance of `BindingInput` via:
BindingArgs{...}
type BindingOutput ¶
type BindingOutput struct{ *pulumi.OutputState }
Associates `members` with a `role`.
func (BindingOutput) Condition ¶
func (o BindingOutput) Condition() ExprPtrOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingOutput) ElementType ¶
func (BindingOutput) ElementType() reflect.Type
func (BindingOutput) Members ¶
func (o BindingOutput) Members() pulumi.StringArrayOutput
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingOutput) Role ¶
func (o BindingOutput) Role() pulumi.StringPtrOutput
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingOutput) ToBindingOutput ¶
func (o BindingOutput) ToBindingOutput() BindingOutput
func (BindingOutput) ToBindingOutputWithContext ¶
func (o BindingOutput) ToBindingOutputWithContext(ctx context.Context) BindingOutput
type BindingResponse ¶
type BindingResponse struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponse `pulumi:"condition"` // Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members []string `pulumi:"members"` // Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `pulumi:"role"` }
Associates `members` with a `role`.
type BindingResponseArgs ¶
type BindingResponseArgs struct { // The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Condition ExprResponseInput `pulumi:"condition"` // Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. Members pulumi.StringArrayInput `pulumi:"members"` // Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role pulumi.StringInput `pulumi:"role"` }
Associates `members` with a `role`.
func (BindingResponseArgs) ElementType ¶
func (BindingResponseArgs) ElementType() reflect.Type
func (BindingResponseArgs) ToBindingResponseOutput ¶
func (i BindingResponseArgs) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseArgs) ToBindingResponseOutputWithContext ¶
func (i BindingResponseArgs) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type BindingResponseArray ¶
type BindingResponseArray []BindingResponseInput
func (BindingResponseArray) ElementType ¶
func (BindingResponseArray) ElementType() reflect.Type
func (BindingResponseArray) ToBindingResponseArrayOutput ¶
func (i BindingResponseArray) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArray) ToBindingResponseArrayOutputWithContext ¶
func (i BindingResponseArray) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseArrayInput ¶
type BindingResponseArrayInput interface { pulumi.Input ToBindingResponseArrayOutput() BindingResponseArrayOutput ToBindingResponseArrayOutputWithContext(context.Context) BindingResponseArrayOutput }
BindingResponseArrayInput is an input type that accepts BindingResponseArray and BindingResponseArrayOutput values. You can construct a concrete instance of `BindingResponseArrayInput` via:
BindingResponseArray{ BindingResponseArgs{...} }
type BindingResponseArrayOutput ¶
type BindingResponseArrayOutput struct{ *pulumi.OutputState }
func (BindingResponseArrayOutput) ElementType ¶
func (BindingResponseArrayOutput) ElementType() reflect.Type
func (BindingResponseArrayOutput) Index ¶
func (o BindingResponseArrayOutput) Index(i pulumi.IntInput) BindingResponseOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutput ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutput() BindingResponseArrayOutput
func (BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext ¶
func (o BindingResponseArrayOutput) ToBindingResponseArrayOutputWithContext(ctx context.Context) BindingResponseArrayOutput
type BindingResponseInput ¶
type BindingResponseInput interface { pulumi.Input ToBindingResponseOutput() BindingResponseOutput ToBindingResponseOutputWithContext(context.Context) BindingResponseOutput }
BindingResponseInput is an input type that accepts BindingResponseArgs and BindingResponseOutput values. You can construct a concrete instance of `BindingResponseInput` via:
BindingResponseArgs{...}
type BindingResponseOutput ¶
type BindingResponseOutput struct{ *pulumi.OutputState }
Associates `members` with a `role`.
func (BindingResponseOutput) Condition ¶
func (o BindingResponseOutput) Condition() ExprResponseOutput
The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the members in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
func (BindingResponseOutput) ElementType ¶
func (BindingResponseOutput) ElementType() reflect.Type
func (BindingResponseOutput) Members ¶
func (o BindingResponseOutput) Members() pulumi.StringArrayOutput
Specifies the identities requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
func (BindingResponseOutput) Role ¶
func (o BindingResponseOutput) Role() pulumi.StringOutput
Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
func (BindingResponseOutput) ToBindingResponseOutput ¶
func (o BindingResponseOutput) ToBindingResponseOutput() BindingResponseOutput
func (BindingResponseOutput) ToBindingResponseOutputWithContext ¶
func (o BindingResponseOutput) ToBindingResponseOutputWithContext(ctx context.Context) BindingResponseOutput
type Config ¶ added in v0.3.0
type Config struct { pulumi.CustomResourceState // A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. Apis ApiResponseArrayOutput `pulumi:"apis"` // Auth configuration. Authentication AuthenticationResponseOutput `pulumi:"authentication"` // API backend configuration. Backend BackendResponseOutput `pulumi:"backend"` // Billing configuration. Billing BillingResponseOutput `pulumi:"billing"` // Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. ConfigVersion pulumi.IntOutput `pulumi:"configVersion"` // Context configuration. Context ContextResponseOutput `pulumi:"context"` // Configuration for the service control plane. Control ControlResponseOutput `pulumi:"control"` // Custom error configuration. CustomError CustomErrorResponseOutput `pulumi:"customError"` // Additional API documentation. Documentation DocumentationResponseOutput `pulumi:"documentation"` // Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Endpoints EndpointResponseArrayOutput `pulumi:"endpoints"` // A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum Enums EnumResponseArrayOutput `pulumi:"enums"` // HTTP configuration. Http HttpResponseOutput `pulumi:"http"` // Logging configuration. Logging LoggingResponseOutput `pulumi:"logging"` // Defines the logs used by this service. Logs LogDescriptorResponseArrayOutput `pulumi:"logs"` // Defines the metrics used by this service. Metrics MetricDescriptorResponseArrayOutput `pulumi:"metrics"` // Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. MonitoredResources MonitoredResourceDescriptorResponseArrayOutput `pulumi:"monitoredResources"` // Monitoring configuration. Monitoring MonitoringResponseOutput `pulumi:"monitoring"` // The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name. Name pulumi.StringOutput `pulumi:"name"` // The Google project that owns this service. ProducerProjectId pulumi.StringOutput `pulumi:"producerProjectId"` // Quota configuration. Quota QuotaResponseOutput `pulumi:"quota"` // The source information for this configuration if available. SourceInfo SourceInfoResponseOutput `pulumi:"sourceInfo"` // System parameter configuration. SystemParameters SystemParametersResponseOutput `pulumi:"systemParameters"` // A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF. SystemTypes TypeResponseArrayOutput `pulumi:"systemTypes"` // The product title for this service. Title pulumi.StringOutput `pulumi:"title"` // A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32 Types TypeResponseArrayOutput `pulumi:"types"` // Configuration controlling usage of this service. Usage UsageResponseOutput `pulumi:"usage"` }
Creates a new service configuration (version) for a managed service. This method only stores the service configuration. To roll out the service configuration to backend systems please call CreateServiceRollout. Only the 100 most recent service configurations and ones referenced by existing rollouts are kept for each service. The rest will be deleted eventually.
func GetConfig ¶ added in v0.3.0
func GetConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigState, opts ...pulumi.ResourceOption) (*Config, error)
GetConfig gets an existing Config resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConfig ¶ added in v0.3.0
func NewConfig(ctx *pulumi.Context, name string, args *ConfigArgs, opts ...pulumi.ResourceOption) (*Config, error)
NewConfig registers a new resource with the given unique name, arguments, and options.
func (*Config) ElementType ¶ added in v0.3.0
func (*Config) ToConfigOutput ¶ added in v0.3.0
func (i *Config) ToConfigOutput() ConfigOutput
func (*Config) ToConfigOutputWithContext ¶ added in v0.3.0
func (i *Config) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigArgs ¶ added in v0.3.0
type ConfigArgs struct { // A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. Apis ApiArrayInput // Auth configuration. Authentication AuthenticationPtrInput // API backend configuration. Backend BackendPtrInput // Billing configuration. Billing BillingPtrInput // Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. ConfigVersion pulumi.IntPtrInput // Context configuration. Context ContextPtrInput // Configuration for the service control plane. Control ControlPtrInput // Custom error configuration. CustomError CustomErrorPtrInput // Additional API documentation. Documentation DocumentationPtrInput // Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Endpoints EndpointArrayInput // A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum Enums EnumArrayInput // HTTP configuration. Http HttpPtrInput // A unique ID for a specific instance of this message, typically assigned by the client for tracking purpose. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server may choose to generate one instead. Id pulumi.StringPtrInput // Logging configuration. Logging LoggingPtrInput // Defines the logs used by this service. Logs LogDescriptorArrayInput // Defines the metrics used by this service. Metrics MetricDescriptorArrayInput // Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. MonitoredResources MonitoredResourceDescriptorArrayInput // Monitoring configuration. Monitoring MonitoringPtrInput // The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name. Name pulumi.StringPtrInput // The Google project that owns this service. ProducerProjectId pulumi.StringPtrInput // Quota configuration. Quota QuotaPtrInput ServiceName pulumi.StringInput // The source information for this configuration if available. SourceInfo SourceInfoPtrInput // System parameter configuration. SystemParameters SystemParametersPtrInput // A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF. SystemTypes TypeArrayInput // The product title for this service. Title pulumi.StringPtrInput // A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32 Types TypeArrayInput // Configuration controlling usage of this service. Usage UsagePtrInput }
The set of arguments for constructing a Config resource.
func (ConfigArgs) ElementType ¶ added in v0.3.0
func (ConfigArgs) ElementType() reflect.Type
type ConfigInput ¶ added in v0.3.0
type ConfigInput interface { pulumi.Input ToConfigOutput() ConfigOutput ToConfigOutputWithContext(ctx context.Context) ConfigOutput }
type ConfigOutput ¶ added in v0.3.0
type ConfigOutput struct {
*pulumi.OutputState
}
func (ConfigOutput) ElementType ¶ added in v0.3.0
func (ConfigOutput) ElementType() reflect.Type
func (ConfigOutput) ToConfigOutput ¶ added in v0.3.0
func (o ConfigOutput) ToConfigOutput() ConfigOutput
func (ConfigOutput) ToConfigOutputWithContext ¶ added in v0.3.0
func (o ConfigOutput) ToConfigOutputWithContext(ctx context.Context) ConfigOutput
type ConfigState ¶ added in v0.3.0
type ConfigState struct { // A list of API interfaces exported by this service. Only the `name` field of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files. Apis ApiResponseArrayInput // Auth configuration. Authentication AuthenticationResponsePtrInput // API backend configuration. Backend BackendResponsePtrInput // Billing configuration. Billing BillingResponsePtrInput // Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to `3`. ConfigVersion pulumi.IntPtrInput // Context configuration. Context ContextResponsePtrInput // Configuration for the service control plane. Control ControlResponsePtrInput // Custom error configuration. CustomError CustomErrorResponsePtrInput // Additional API documentation. Documentation DocumentationResponsePtrInput // Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs. Endpoints EndpointResponseArrayInput // A list of all enum types included in this API service. Enums referenced directly or indirectly by the `apis` are automatically included. Enums which are not referenced but shall be included should be listed here by name. Example: enums: - name: google.someapi.v1.SomeEnum Enums EnumResponseArrayInput // HTTP configuration. Http HttpResponsePtrInput // Logging configuration. Logging LoggingResponsePtrInput // Defines the logs used by this service. Logs LogDescriptorResponseArrayInput // Defines the metrics used by this service. Metrics MetricDescriptorResponseArrayInput // Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations. MonitoredResources MonitoredResourceDescriptorResponseArrayInput // Monitoring configuration. Monitoring MonitoringResponsePtrInput // The service name, which is a DNS-like logical identifier for the service, such as `calendar.googleapis.com`. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name. Name pulumi.StringPtrInput // The Google project that owns this service. ProducerProjectId pulumi.StringPtrInput // Quota configuration. Quota QuotaResponsePtrInput // The source information for this configuration if available. SourceInfo SourceInfoResponsePtrInput // System parameter configuration. SystemParameters SystemParametersResponsePtrInput // A list of all proto message types included in this API service. It serves similar purpose as [google.api.Service.types], except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF. SystemTypes TypeResponseArrayInput // The product title for this service. Title pulumi.StringPtrInput // A list of all proto message types included in this API service. Types referenced directly or indirectly by the `apis` are automatically included. Messages which are not referenced but shall be included, such as types used by the `google.protobuf.Any` type, should be listed here by name. Example: types: - name: google.protobuf.Int32 Types TypeResponseArrayInput // Configuration controlling usage of this service. Usage UsageResponsePtrInput }
func (ConfigState) ElementType ¶ added in v0.3.0
func (ConfigState) ElementType() reflect.Type
type Context ¶
type Context struct { // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []ContextRule `pulumi:"rules"` }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
type ContextArgs ¶
type ContextArgs struct { // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules ContextRuleArrayInput `pulumi:"rules"` }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
func (ContextArgs) ElementType ¶
func (ContextArgs) ElementType() reflect.Type
func (ContextArgs) ToContextOutput ¶
func (i ContextArgs) ToContextOutput() ContextOutput
func (ContextArgs) ToContextOutputWithContext ¶
func (i ContextArgs) ToContextOutputWithContext(ctx context.Context) ContextOutput
func (ContextArgs) ToContextPtrOutput ¶
func (i ContextArgs) ToContextPtrOutput() ContextPtrOutput
func (ContextArgs) ToContextPtrOutputWithContext ¶
func (i ContextArgs) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
type ContextInput ¶
type ContextInput interface { pulumi.Input ToContextOutput() ContextOutput ToContextOutputWithContext(context.Context) ContextOutput }
ContextInput is an input type that accepts ContextArgs and ContextOutput values. You can construct a concrete instance of `ContextInput` via:
ContextArgs{...}
type ContextOutput ¶
type ContextOutput struct{ *pulumi.OutputState }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
func (ContextOutput) ElementType ¶
func (ContextOutput) ElementType() reflect.Type
func (ContextOutput) Rules ¶
func (o ContextOutput) Rules() ContextRuleArrayOutput
A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (ContextOutput) ToContextOutput ¶
func (o ContextOutput) ToContextOutput() ContextOutput
func (ContextOutput) ToContextOutputWithContext ¶
func (o ContextOutput) ToContextOutputWithContext(ctx context.Context) ContextOutput
func (ContextOutput) ToContextPtrOutput ¶
func (o ContextOutput) ToContextPtrOutput() ContextPtrOutput
func (ContextOutput) ToContextPtrOutputWithContext ¶
func (o ContextOutput) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
type ContextPtrInput ¶
type ContextPtrInput interface { pulumi.Input ToContextPtrOutput() ContextPtrOutput ToContextPtrOutputWithContext(context.Context) ContextPtrOutput }
ContextPtrInput is an input type that accepts ContextArgs, ContextPtr and ContextPtrOutput values. You can construct a concrete instance of `ContextPtrInput` via:
ContextArgs{...} or: nil
func ContextPtr ¶
func ContextPtr(v *ContextArgs) ContextPtrInput
type ContextPtrOutput ¶
type ContextPtrOutput struct{ *pulumi.OutputState }
func (ContextPtrOutput) Elem ¶
func (o ContextPtrOutput) Elem() ContextOutput
func (ContextPtrOutput) ElementType ¶
func (ContextPtrOutput) ElementType() reflect.Type
func (ContextPtrOutput) Rules ¶
func (o ContextPtrOutput) Rules() ContextRuleArrayOutput
A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (ContextPtrOutput) ToContextPtrOutput ¶
func (o ContextPtrOutput) ToContextPtrOutput() ContextPtrOutput
func (ContextPtrOutput) ToContextPtrOutputWithContext ¶
func (o ContextPtrOutput) ToContextPtrOutputWithContext(ctx context.Context) ContextPtrOutput
type ContextResponse ¶
type ContextResponse struct { // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []ContextRuleResponse `pulumi:"rules"` }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
type ContextResponseArgs ¶
type ContextResponseArgs struct { // A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules ContextRuleResponseArrayInput `pulumi:"rules"` }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
func (ContextResponseArgs) ElementType ¶
func (ContextResponseArgs) ElementType() reflect.Type
func (ContextResponseArgs) ToContextResponseOutput ¶
func (i ContextResponseArgs) ToContextResponseOutput() ContextResponseOutput
func (ContextResponseArgs) ToContextResponseOutputWithContext ¶
func (i ContextResponseArgs) ToContextResponseOutputWithContext(ctx context.Context) ContextResponseOutput
func (ContextResponseArgs) ToContextResponsePtrOutput ¶
func (i ContextResponseArgs) ToContextResponsePtrOutput() ContextResponsePtrOutput
func (ContextResponseArgs) ToContextResponsePtrOutputWithContext ¶
func (i ContextResponseArgs) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
type ContextResponseInput ¶
type ContextResponseInput interface { pulumi.Input ToContextResponseOutput() ContextResponseOutput ToContextResponseOutputWithContext(context.Context) ContextResponseOutput }
ContextResponseInput is an input type that accepts ContextResponseArgs and ContextResponseOutput values. You can construct a concrete instance of `ContextResponseInput` via:
ContextResponseArgs{...}
type ContextResponseOutput ¶
type ContextResponseOutput struct{ *pulumi.OutputState }
`Context` defines which contexts an API requests. Example: context: rules: - selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.context.OriginContext The above specifies that all methods in the API request `google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`. Available context types are defined in package `google.rpc.context`. This also provides mechanism to allowlist any protobuf message extension that can be sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format. For example, list any service specific protobuf types that can appear in grpc metadata as follows in your yaml file: Example: context: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allowed_request_extensions: - google.foo.v1.NewExtension allowed_response_extensions: - google.foo.v1.NewExtension You can also specify extension ID instead of fully qualified extension name here.
func (ContextResponseOutput) ElementType ¶
func (ContextResponseOutput) ElementType() reflect.Type
func (ContextResponseOutput) Rules ¶
func (o ContextResponseOutput) Rules() ContextRuleResponseArrayOutput
A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (ContextResponseOutput) ToContextResponseOutput ¶
func (o ContextResponseOutput) ToContextResponseOutput() ContextResponseOutput
func (ContextResponseOutput) ToContextResponseOutputWithContext ¶
func (o ContextResponseOutput) ToContextResponseOutputWithContext(ctx context.Context) ContextResponseOutput
func (ContextResponseOutput) ToContextResponsePtrOutput ¶
func (o ContextResponseOutput) ToContextResponsePtrOutput() ContextResponsePtrOutput
func (ContextResponseOutput) ToContextResponsePtrOutputWithContext ¶
func (o ContextResponseOutput) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
type ContextResponsePtrInput ¶
type ContextResponsePtrInput interface { pulumi.Input ToContextResponsePtrOutput() ContextResponsePtrOutput ToContextResponsePtrOutputWithContext(context.Context) ContextResponsePtrOutput }
ContextResponsePtrInput is an input type that accepts ContextResponseArgs, ContextResponsePtr and ContextResponsePtrOutput values. You can construct a concrete instance of `ContextResponsePtrInput` via:
ContextResponseArgs{...} or: nil
func ContextResponsePtr ¶
func ContextResponsePtr(v *ContextResponseArgs) ContextResponsePtrInput
type ContextResponsePtrOutput ¶
type ContextResponsePtrOutput struct{ *pulumi.OutputState }
func (ContextResponsePtrOutput) Elem ¶
func (o ContextResponsePtrOutput) Elem() ContextResponseOutput
func (ContextResponsePtrOutput) ElementType ¶
func (ContextResponsePtrOutput) ElementType() reflect.Type
func (ContextResponsePtrOutput) Rules ¶
func (o ContextResponsePtrOutput) Rules() ContextRuleResponseArrayOutput
A list of RPC context rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (ContextResponsePtrOutput) ToContextResponsePtrOutput ¶
func (o ContextResponsePtrOutput) ToContextResponsePtrOutput() ContextResponsePtrOutput
func (ContextResponsePtrOutput) ToContextResponsePtrOutputWithContext ¶
func (o ContextResponsePtrOutput) ToContextResponsePtrOutputWithContext(ctx context.Context) ContextResponsePtrOutput
type ContextRule ¶
type ContextRule struct { // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. AllowedRequestExtensions []string `pulumi:"allowedRequestExtensions"` // A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. AllowedResponseExtensions []string `pulumi:"allowedResponseExtensions"` // A list of full type names of provided contexts. Provided []string `pulumi:"provided"` // A list of full type names of requested contexts. Requested []string `pulumi:"requested"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
A context rule provides information about the context for an individual API element.
type ContextRuleArgs ¶
type ContextRuleArgs struct { // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. AllowedRequestExtensions pulumi.StringArrayInput `pulumi:"allowedRequestExtensions"` // A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. AllowedResponseExtensions pulumi.StringArrayInput `pulumi:"allowedResponseExtensions"` // A list of full type names of provided contexts. Provided pulumi.StringArrayInput `pulumi:"provided"` // A list of full type names of requested contexts. Requested pulumi.StringArrayInput `pulumi:"requested"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
A context rule provides information about the context for an individual API element.
func (ContextRuleArgs) ElementType ¶
func (ContextRuleArgs) ElementType() reflect.Type
func (ContextRuleArgs) ToContextRuleOutput ¶
func (i ContextRuleArgs) ToContextRuleOutput() ContextRuleOutput
func (ContextRuleArgs) ToContextRuleOutputWithContext ¶
func (i ContextRuleArgs) ToContextRuleOutputWithContext(ctx context.Context) ContextRuleOutput
type ContextRuleArray ¶
type ContextRuleArray []ContextRuleInput
func (ContextRuleArray) ElementType ¶
func (ContextRuleArray) ElementType() reflect.Type
func (ContextRuleArray) ToContextRuleArrayOutput ¶
func (i ContextRuleArray) ToContextRuleArrayOutput() ContextRuleArrayOutput
func (ContextRuleArray) ToContextRuleArrayOutputWithContext ¶
func (i ContextRuleArray) ToContextRuleArrayOutputWithContext(ctx context.Context) ContextRuleArrayOutput
type ContextRuleArrayInput ¶
type ContextRuleArrayInput interface { pulumi.Input ToContextRuleArrayOutput() ContextRuleArrayOutput ToContextRuleArrayOutputWithContext(context.Context) ContextRuleArrayOutput }
ContextRuleArrayInput is an input type that accepts ContextRuleArray and ContextRuleArrayOutput values. You can construct a concrete instance of `ContextRuleArrayInput` via:
ContextRuleArray{ ContextRuleArgs{...} }
type ContextRuleArrayOutput ¶
type ContextRuleArrayOutput struct{ *pulumi.OutputState }
func (ContextRuleArrayOutput) ElementType ¶
func (ContextRuleArrayOutput) ElementType() reflect.Type
func (ContextRuleArrayOutput) Index ¶
func (o ContextRuleArrayOutput) Index(i pulumi.IntInput) ContextRuleOutput
func (ContextRuleArrayOutput) ToContextRuleArrayOutput ¶
func (o ContextRuleArrayOutput) ToContextRuleArrayOutput() ContextRuleArrayOutput
func (ContextRuleArrayOutput) ToContextRuleArrayOutputWithContext ¶
func (o ContextRuleArrayOutput) ToContextRuleArrayOutputWithContext(ctx context.Context) ContextRuleArrayOutput
type ContextRuleInput ¶
type ContextRuleInput interface { pulumi.Input ToContextRuleOutput() ContextRuleOutput ToContextRuleOutputWithContext(context.Context) ContextRuleOutput }
ContextRuleInput is an input type that accepts ContextRuleArgs and ContextRuleOutput values. You can construct a concrete instance of `ContextRuleInput` via:
ContextRuleArgs{...}
type ContextRuleOutput ¶
type ContextRuleOutput struct{ *pulumi.OutputState }
A context rule provides information about the context for an individual API element.
func (ContextRuleOutput) AllowedRequestExtensions ¶
func (o ContextRuleOutput) AllowedRequestExtensions() pulumi.StringArrayOutput
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
func (ContextRuleOutput) AllowedResponseExtensions ¶
func (o ContextRuleOutput) AllowedResponseExtensions() pulumi.StringArrayOutput
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
func (ContextRuleOutput) ElementType ¶
func (ContextRuleOutput) ElementType() reflect.Type
func (ContextRuleOutput) Provided ¶
func (o ContextRuleOutput) Provided() pulumi.StringArrayOutput
A list of full type names of provided contexts.
func (ContextRuleOutput) Requested ¶
func (o ContextRuleOutput) Requested() pulumi.StringArrayOutput
A list of full type names of requested contexts.
func (ContextRuleOutput) Selector ¶
func (o ContextRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (ContextRuleOutput) ToContextRuleOutput ¶
func (o ContextRuleOutput) ToContextRuleOutput() ContextRuleOutput
func (ContextRuleOutput) ToContextRuleOutputWithContext ¶
func (o ContextRuleOutput) ToContextRuleOutputWithContext(ctx context.Context) ContextRuleOutput
type ContextRuleResponse ¶
type ContextRuleResponse struct { // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. AllowedRequestExtensions []string `pulumi:"allowedRequestExtensions"` // A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. AllowedResponseExtensions []string `pulumi:"allowedResponseExtensions"` // A list of full type names of provided contexts. Provided []string `pulumi:"provided"` // A list of full type names of requested contexts. Requested []string `pulumi:"requested"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
A context rule provides information about the context for an individual API element.
type ContextRuleResponseArgs ¶
type ContextRuleResponseArgs struct { // A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend. AllowedRequestExtensions pulumi.StringArrayInput `pulumi:"allowedRequestExtensions"` // A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client. AllowedResponseExtensions pulumi.StringArrayInput `pulumi:"allowedResponseExtensions"` // A list of full type names of provided contexts. Provided pulumi.StringArrayInput `pulumi:"provided"` // A list of full type names of requested contexts. Requested pulumi.StringArrayInput `pulumi:"requested"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
A context rule provides information about the context for an individual API element.
func (ContextRuleResponseArgs) ElementType ¶
func (ContextRuleResponseArgs) ElementType() reflect.Type
func (ContextRuleResponseArgs) ToContextRuleResponseOutput ¶
func (i ContextRuleResponseArgs) ToContextRuleResponseOutput() ContextRuleResponseOutput
func (ContextRuleResponseArgs) ToContextRuleResponseOutputWithContext ¶
func (i ContextRuleResponseArgs) ToContextRuleResponseOutputWithContext(ctx context.Context) ContextRuleResponseOutput
type ContextRuleResponseArray ¶
type ContextRuleResponseArray []ContextRuleResponseInput
func (ContextRuleResponseArray) ElementType ¶
func (ContextRuleResponseArray) ElementType() reflect.Type
func (ContextRuleResponseArray) ToContextRuleResponseArrayOutput ¶
func (i ContextRuleResponseArray) ToContextRuleResponseArrayOutput() ContextRuleResponseArrayOutput
func (ContextRuleResponseArray) ToContextRuleResponseArrayOutputWithContext ¶
func (i ContextRuleResponseArray) ToContextRuleResponseArrayOutputWithContext(ctx context.Context) ContextRuleResponseArrayOutput
type ContextRuleResponseArrayInput ¶
type ContextRuleResponseArrayInput interface { pulumi.Input ToContextRuleResponseArrayOutput() ContextRuleResponseArrayOutput ToContextRuleResponseArrayOutputWithContext(context.Context) ContextRuleResponseArrayOutput }
ContextRuleResponseArrayInput is an input type that accepts ContextRuleResponseArray and ContextRuleResponseArrayOutput values. You can construct a concrete instance of `ContextRuleResponseArrayInput` via:
ContextRuleResponseArray{ ContextRuleResponseArgs{...} }
type ContextRuleResponseArrayOutput ¶
type ContextRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (ContextRuleResponseArrayOutput) ElementType ¶
func (ContextRuleResponseArrayOutput) ElementType() reflect.Type
func (ContextRuleResponseArrayOutput) Index ¶
func (o ContextRuleResponseArrayOutput) Index(i pulumi.IntInput) ContextRuleResponseOutput
func (ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutput ¶
func (o ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutput() ContextRuleResponseArrayOutput
func (ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutputWithContext ¶
func (o ContextRuleResponseArrayOutput) ToContextRuleResponseArrayOutputWithContext(ctx context.Context) ContextRuleResponseArrayOutput
type ContextRuleResponseInput ¶
type ContextRuleResponseInput interface { pulumi.Input ToContextRuleResponseOutput() ContextRuleResponseOutput ToContextRuleResponseOutputWithContext(context.Context) ContextRuleResponseOutput }
ContextRuleResponseInput is an input type that accepts ContextRuleResponseArgs and ContextRuleResponseOutput values. You can construct a concrete instance of `ContextRuleResponseInput` via:
ContextRuleResponseArgs{...}
type ContextRuleResponseOutput ¶
type ContextRuleResponseOutput struct{ *pulumi.OutputState }
A context rule provides information about the context for an individual API element.
func (ContextRuleResponseOutput) AllowedRequestExtensions ¶
func (o ContextRuleResponseOutput) AllowedRequestExtensions() pulumi.StringArrayOutput
A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
func (ContextRuleResponseOutput) AllowedResponseExtensions ¶
func (o ContextRuleResponseOutput) AllowedResponseExtensions() pulumi.StringArrayOutput
A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
func (ContextRuleResponseOutput) ElementType ¶
func (ContextRuleResponseOutput) ElementType() reflect.Type
func (ContextRuleResponseOutput) Provided ¶
func (o ContextRuleResponseOutput) Provided() pulumi.StringArrayOutput
A list of full type names of provided contexts.
func (ContextRuleResponseOutput) Requested ¶
func (o ContextRuleResponseOutput) Requested() pulumi.StringArrayOutput
A list of full type names of requested contexts.
func (ContextRuleResponseOutput) Selector ¶
func (o ContextRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (ContextRuleResponseOutput) ToContextRuleResponseOutput ¶
func (o ContextRuleResponseOutput) ToContextRuleResponseOutput() ContextRuleResponseOutput
func (ContextRuleResponseOutput) ToContextRuleResponseOutputWithContext ¶
func (o ContextRuleResponseOutput) ToContextRuleResponseOutputWithContext(ctx context.Context) ContextRuleResponseOutput
type Control ¶
type Control struct { // The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled. Environment *string `pulumi:"environment"` }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
type ControlArgs ¶
type ControlArgs struct { // The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled. Environment pulumi.StringPtrInput `pulumi:"environment"` }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
func (ControlArgs) ElementType ¶
func (ControlArgs) ElementType() reflect.Type
func (ControlArgs) ToControlOutput ¶
func (i ControlArgs) ToControlOutput() ControlOutput
func (ControlArgs) ToControlOutputWithContext ¶
func (i ControlArgs) ToControlOutputWithContext(ctx context.Context) ControlOutput
func (ControlArgs) ToControlPtrOutput ¶
func (i ControlArgs) ToControlPtrOutput() ControlPtrOutput
func (ControlArgs) ToControlPtrOutputWithContext ¶
func (i ControlArgs) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
type ControlInput ¶
type ControlInput interface { pulumi.Input ToControlOutput() ControlOutput ToControlOutputWithContext(context.Context) ControlOutput }
ControlInput is an input type that accepts ControlArgs and ControlOutput values. You can construct a concrete instance of `ControlInput` via:
ControlArgs{...}
type ControlOutput ¶
type ControlOutput struct{ *pulumi.OutputState }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
func (ControlOutput) ElementType ¶
func (ControlOutput) ElementType() reflect.Type
func (ControlOutput) Environment ¶
func (o ControlOutput) Environment() pulumi.StringPtrOutput
The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
func (ControlOutput) ToControlOutput ¶
func (o ControlOutput) ToControlOutput() ControlOutput
func (ControlOutput) ToControlOutputWithContext ¶
func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOutput
func (ControlOutput) ToControlPtrOutput ¶
func (o ControlOutput) ToControlPtrOutput() ControlPtrOutput
func (ControlOutput) ToControlPtrOutputWithContext ¶
func (o ControlOutput) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
type ControlPtrInput ¶
type ControlPtrInput interface { pulumi.Input ToControlPtrOutput() ControlPtrOutput ToControlPtrOutputWithContext(context.Context) ControlPtrOutput }
ControlPtrInput is an input type that accepts ControlArgs, ControlPtr and ControlPtrOutput values. You can construct a concrete instance of `ControlPtrInput` via:
ControlArgs{...} or: nil
func ControlPtr ¶
func ControlPtr(v *ControlArgs) ControlPtrInput
type ControlPtrOutput ¶
type ControlPtrOutput struct{ *pulumi.OutputState }
func (ControlPtrOutput) Elem ¶
func (o ControlPtrOutput) Elem() ControlOutput
func (ControlPtrOutput) ElementType ¶
func (ControlPtrOutput) ElementType() reflect.Type
func (ControlPtrOutput) Environment ¶
func (o ControlPtrOutput) Environment() pulumi.StringPtrOutput
The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
func (ControlPtrOutput) ToControlPtrOutput ¶
func (o ControlPtrOutput) ToControlPtrOutput() ControlPtrOutput
func (ControlPtrOutput) ToControlPtrOutputWithContext ¶
func (o ControlPtrOutput) ToControlPtrOutputWithContext(ctx context.Context) ControlPtrOutput
type ControlResponse ¶
type ControlResponse struct { // The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled. Environment string `pulumi:"environment"` }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
type ControlResponseArgs ¶
type ControlResponseArgs struct { // The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled. Environment pulumi.StringInput `pulumi:"environment"` }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
func (ControlResponseArgs) ElementType ¶
func (ControlResponseArgs) ElementType() reflect.Type
func (ControlResponseArgs) ToControlResponseOutput ¶
func (i ControlResponseArgs) ToControlResponseOutput() ControlResponseOutput
func (ControlResponseArgs) ToControlResponseOutputWithContext ¶
func (i ControlResponseArgs) ToControlResponseOutputWithContext(ctx context.Context) ControlResponseOutput
func (ControlResponseArgs) ToControlResponsePtrOutput ¶
func (i ControlResponseArgs) ToControlResponsePtrOutput() ControlResponsePtrOutput
func (ControlResponseArgs) ToControlResponsePtrOutputWithContext ¶
func (i ControlResponseArgs) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
type ControlResponseInput ¶
type ControlResponseInput interface { pulumi.Input ToControlResponseOutput() ControlResponseOutput ToControlResponseOutputWithContext(context.Context) ControlResponseOutput }
ControlResponseInput is an input type that accepts ControlResponseArgs and ControlResponseOutput values. You can construct a concrete instance of `ControlResponseInput` via:
ControlResponseArgs{...}
type ControlResponseOutput ¶
type ControlResponseOutput struct{ *pulumi.OutputState }
Selects and configures the service controller used by the service. The service controller handles features like abuse, quota, billing, logging, monitoring, etc.
func (ControlResponseOutput) ElementType ¶
func (ControlResponseOutput) ElementType() reflect.Type
func (ControlResponseOutput) Environment ¶
func (o ControlResponseOutput) Environment() pulumi.StringOutput
The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
func (ControlResponseOutput) ToControlResponseOutput ¶
func (o ControlResponseOutput) ToControlResponseOutput() ControlResponseOutput
func (ControlResponseOutput) ToControlResponseOutputWithContext ¶
func (o ControlResponseOutput) ToControlResponseOutputWithContext(ctx context.Context) ControlResponseOutput
func (ControlResponseOutput) ToControlResponsePtrOutput ¶
func (o ControlResponseOutput) ToControlResponsePtrOutput() ControlResponsePtrOutput
func (ControlResponseOutput) ToControlResponsePtrOutputWithContext ¶
func (o ControlResponseOutput) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
type ControlResponsePtrInput ¶
type ControlResponsePtrInput interface { pulumi.Input ToControlResponsePtrOutput() ControlResponsePtrOutput ToControlResponsePtrOutputWithContext(context.Context) ControlResponsePtrOutput }
ControlResponsePtrInput is an input type that accepts ControlResponseArgs, ControlResponsePtr and ControlResponsePtrOutput values. You can construct a concrete instance of `ControlResponsePtrInput` via:
ControlResponseArgs{...} or: nil
func ControlResponsePtr ¶
func ControlResponsePtr(v *ControlResponseArgs) ControlResponsePtrInput
type ControlResponsePtrOutput ¶
type ControlResponsePtrOutput struct{ *pulumi.OutputState }
func (ControlResponsePtrOutput) Elem ¶
func (o ControlResponsePtrOutput) Elem() ControlResponseOutput
func (ControlResponsePtrOutput) ElementType ¶
func (ControlResponsePtrOutput) ElementType() reflect.Type
func (ControlResponsePtrOutput) Environment ¶
func (o ControlResponsePtrOutput) Environment() pulumi.StringPtrOutput
The service control environment to use. If empty, no control plane feature (like quota and billing) will be enabled.
func (ControlResponsePtrOutput) ToControlResponsePtrOutput ¶
func (o ControlResponsePtrOutput) ToControlResponsePtrOutput() ControlResponsePtrOutput
func (ControlResponsePtrOutput) ToControlResponsePtrOutputWithContext ¶
func (o ControlResponsePtrOutput) ToControlResponsePtrOutputWithContext(ctx context.Context) ControlResponsePtrOutput
type CustomError ¶
type CustomError struct { // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. Rules []CustomErrorRule `pulumi:"rules"` // The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. Types []string `pulumi:"types"` }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
type CustomErrorArgs ¶
type CustomErrorArgs struct { // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. Rules CustomErrorRuleArrayInput `pulumi:"rules"` // The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. Types pulumi.StringArrayInput `pulumi:"types"` }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
func (CustomErrorArgs) ElementType ¶
func (CustomErrorArgs) ElementType() reflect.Type
func (CustomErrorArgs) ToCustomErrorOutput ¶
func (i CustomErrorArgs) ToCustomErrorOutput() CustomErrorOutput
func (CustomErrorArgs) ToCustomErrorOutputWithContext ¶
func (i CustomErrorArgs) ToCustomErrorOutputWithContext(ctx context.Context) CustomErrorOutput
func (CustomErrorArgs) ToCustomErrorPtrOutput ¶
func (i CustomErrorArgs) ToCustomErrorPtrOutput() CustomErrorPtrOutput
func (CustomErrorArgs) ToCustomErrorPtrOutputWithContext ¶
func (i CustomErrorArgs) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
type CustomErrorInput ¶
type CustomErrorInput interface { pulumi.Input ToCustomErrorOutput() CustomErrorOutput ToCustomErrorOutputWithContext(context.Context) CustomErrorOutput }
CustomErrorInput is an input type that accepts CustomErrorArgs and CustomErrorOutput values. You can construct a concrete instance of `CustomErrorInput` via:
CustomErrorArgs{...}
type CustomErrorOutput ¶
type CustomErrorOutput struct{ *pulumi.OutputState }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
func (CustomErrorOutput) ElementType ¶
func (CustomErrorOutput) ElementType() reflect.Type
func (CustomErrorOutput) Rules ¶
func (o CustomErrorOutput) Rules() CustomErrorRuleArrayOutput
The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order.
func (CustomErrorOutput) ToCustomErrorOutput ¶
func (o CustomErrorOutput) ToCustomErrorOutput() CustomErrorOutput
func (CustomErrorOutput) ToCustomErrorOutputWithContext ¶
func (o CustomErrorOutput) ToCustomErrorOutputWithContext(ctx context.Context) CustomErrorOutput
func (CustomErrorOutput) ToCustomErrorPtrOutput ¶
func (o CustomErrorOutput) ToCustomErrorPtrOutput() CustomErrorPtrOutput
func (CustomErrorOutput) ToCustomErrorPtrOutputWithContext ¶
func (o CustomErrorOutput) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
func (CustomErrorOutput) Types ¶
func (o CustomErrorOutput) Types() pulumi.StringArrayOutput
The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
type CustomErrorPtrInput ¶
type CustomErrorPtrInput interface { pulumi.Input ToCustomErrorPtrOutput() CustomErrorPtrOutput ToCustomErrorPtrOutputWithContext(context.Context) CustomErrorPtrOutput }
CustomErrorPtrInput is an input type that accepts CustomErrorArgs, CustomErrorPtr and CustomErrorPtrOutput values. You can construct a concrete instance of `CustomErrorPtrInput` via:
CustomErrorArgs{...} or: nil
func CustomErrorPtr ¶
func CustomErrorPtr(v *CustomErrorArgs) CustomErrorPtrInput
type CustomErrorPtrOutput ¶
type CustomErrorPtrOutput struct{ *pulumi.OutputState }
func (CustomErrorPtrOutput) Elem ¶
func (o CustomErrorPtrOutput) Elem() CustomErrorOutput
func (CustomErrorPtrOutput) ElementType ¶
func (CustomErrorPtrOutput) ElementType() reflect.Type
func (CustomErrorPtrOutput) Rules ¶
func (o CustomErrorPtrOutput) Rules() CustomErrorRuleArrayOutput
The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order.
func (CustomErrorPtrOutput) ToCustomErrorPtrOutput ¶
func (o CustomErrorPtrOutput) ToCustomErrorPtrOutput() CustomErrorPtrOutput
func (CustomErrorPtrOutput) ToCustomErrorPtrOutputWithContext ¶
func (o CustomErrorPtrOutput) ToCustomErrorPtrOutputWithContext(ctx context.Context) CustomErrorPtrOutput
func (CustomErrorPtrOutput) Types ¶
func (o CustomErrorPtrOutput) Types() pulumi.StringArrayOutput
The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
type CustomErrorResponse ¶
type CustomErrorResponse struct { // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. Rules []CustomErrorRuleResponse `pulumi:"rules"` // The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. Types []string `pulumi:"types"` }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
type CustomErrorResponseArgs ¶
type CustomErrorResponseArgs struct { // The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order. Rules CustomErrorRuleResponseArrayInput `pulumi:"rules"` // The list of custom error detail types, e.g. 'google.foo.v1.CustomError'. Types pulumi.StringArrayInput `pulumi:"types"` }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
func (CustomErrorResponseArgs) ElementType ¶
func (CustomErrorResponseArgs) ElementType() reflect.Type
func (CustomErrorResponseArgs) ToCustomErrorResponseOutput ¶
func (i CustomErrorResponseArgs) ToCustomErrorResponseOutput() CustomErrorResponseOutput
func (CustomErrorResponseArgs) ToCustomErrorResponseOutputWithContext ¶
func (i CustomErrorResponseArgs) ToCustomErrorResponseOutputWithContext(ctx context.Context) CustomErrorResponseOutput
func (CustomErrorResponseArgs) ToCustomErrorResponsePtrOutput ¶
func (i CustomErrorResponseArgs) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
func (CustomErrorResponseArgs) ToCustomErrorResponsePtrOutputWithContext ¶
func (i CustomErrorResponseArgs) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
type CustomErrorResponseInput ¶
type CustomErrorResponseInput interface { pulumi.Input ToCustomErrorResponseOutput() CustomErrorResponseOutput ToCustomErrorResponseOutputWithContext(context.Context) CustomErrorResponseOutput }
CustomErrorResponseInput is an input type that accepts CustomErrorResponseArgs and CustomErrorResponseOutput values. You can construct a concrete instance of `CustomErrorResponseInput` via:
CustomErrorResponseArgs{...}
type CustomErrorResponseOutput ¶
type CustomErrorResponseOutput struct{ *pulumi.OutputState }
Customize service error responses. For example, list any service specific protobuf types that can appear in error detail lists of error responses. Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.AnotherError
func (CustomErrorResponseOutput) ElementType ¶
func (CustomErrorResponseOutput) ElementType() reflect.Type
func (CustomErrorResponseOutput) Rules ¶
func (o CustomErrorResponseOutput) Rules() CustomErrorRuleResponseArrayOutput
The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order.
func (CustomErrorResponseOutput) ToCustomErrorResponseOutput ¶
func (o CustomErrorResponseOutput) ToCustomErrorResponseOutput() CustomErrorResponseOutput
func (CustomErrorResponseOutput) ToCustomErrorResponseOutputWithContext ¶
func (o CustomErrorResponseOutput) ToCustomErrorResponseOutputWithContext(ctx context.Context) CustomErrorResponseOutput
func (CustomErrorResponseOutput) ToCustomErrorResponsePtrOutput ¶
func (o CustomErrorResponseOutput) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
func (CustomErrorResponseOutput) ToCustomErrorResponsePtrOutputWithContext ¶
func (o CustomErrorResponseOutput) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
func (CustomErrorResponseOutput) Types ¶
func (o CustomErrorResponseOutput) Types() pulumi.StringArrayOutput
The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
type CustomErrorResponsePtrInput ¶
type CustomErrorResponsePtrInput interface { pulumi.Input ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput ToCustomErrorResponsePtrOutputWithContext(context.Context) CustomErrorResponsePtrOutput }
CustomErrorResponsePtrInput is an input type that accepts CustomErrorResponseArgs, CustomErrorResponsePtr and CustomErrorResponsePtrOutput values. You can construct a concrete instance of `CustomErrorResponsePtrInput` via:
CustomErrorResponseArgs{...} or: nil
func CustomErrorResponsePtr ¶
func CustomErrorResponsePtr(v *CustomErrorResponseArgs) CustomErrorResponsePtrInput
type CustomErrorResponsePtrOutput ¶
type CustomErrorResponsePtrOutput struct{ *pulumi.OutputState }
func (CustomErrorResponsePtrOutput) Elem ¶
func (o CustomErrorResponsePtrOutput) Elem() CustomErrorResponseOutput
func (CustomErrorResponsePtrOutput) ElementType ¶
func (CustomErrorResponsePtrOutput) ElementType() reflect.Type
func (CustomErrorResponsePtrOutput) Rules ¶
func (o CustomErrorResponsePtrOutput) Rules() CustomErrorRuleResponseArrayOutput
The list of custom error rules that apply to individual API messages. **NOTE:** All service configuration rules follow "last one wins" order.
func (CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutput ¶
func (o CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutput() CustomErrorResponsePtrOutput
func (CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutputWithContext ¶
func (o CustomErrorResponsePtrOutput) ToCustomErrorResponsePtrOutputWithContext(ctx context.Context) CustomErrorResponsePtrOutput
func (CustomErrorResponsePtrOutput) Types ¶
func (o CustomErrorResponsePtrOutput) Types() pulumi.StringArrayOutput
The list of custom error detail types, e.g. 'google.foo.v1.CustomError'.
type CustomErrorRule ¶
type CustomErrorRule struct { // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. IsErrorType *bool `pulumi:"isErrorType"` // Selects messages to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
A custom error rule.
type CustomErrorRuleArgs ¶
type CustomErrorRuleArgs struct { // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. IsErrorType pulumi.BoolPtrInput `pulumi:"isErrorType"` // Selects messages to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
A custom error rule.
func (CustomErrorRuleArgs) ElementType ¶
func (CustomErrorRuleArgs) ElementType() reflect.Type
func (CustomErrorRuleArgs) ToCustomErrorRuleOutput ¶
func (i CustomErrorRuleArgs) ToCustomErrorRuleOutput() CustomErrorRuleOutput
func (CustomErrorRuleArgs) ToCustomErrorRuleOutputWithContext ¶
func (i CustomErrorRuleArgs) ToCustomErrorRuleOutputWithContext(ctx context.Context) CustomErrorRuleOutput
type CustomErrorRuleArray ¶
type CustomErrorRuleArray []CustomErrorRuleInput
func (CustomErrorRuleArray) ElementType ¶
func (CustomErrorRuleArray) ElementType() reflect.Type
func (CustomErrorRuleArray) ToCustomErrorRuleArrayOutput ¶
func (i CustomErrorRuleArray) ToCustomErrorRuleArrayOutput() CustomErrorRuleArrayOutput
func (CustomErrorRuleArray) ToCustomErrorRuleArrayOutputWithContext ¶
func (i CustomErrorRuleArray) ToCustomErrorRuleArrayOutputWithContext(ctx context.Context) CustomErrorRuleArrayOutput
type CustomErrorRuleArrayInput ¶
type CustomErrorRuleArrayInput interface { pulumi.Input ToCustomErrorRuleArrayOutput() CustomErrorRuleArrayOutput ToCustomErrorRuleArrayOutputWithContext(context.Context) CustomErrorRuleArrayOutput }
CustomErrorRuleArrayInput is an input type that accepts CustomErrorRuleArray and CustomErrorRuleArrayOutput values. You can construct a concrete instance of `CustomErrorRuleArrayInput` via:
CustomErrorRuleArray{ CustomErrorRuleArgs{...} }
type CustomErrorRuleArrayOutput ¶
type CustomErrorRuleArrayOutput struct{ *pulumi.OutputState }
func (CustomErrorRuleArrayOutput) ElementType ¶
func (CustomErrorRuleArrayOutput) ElementType() reflect.Type
func (CustomErrorRuleArrayOutput) Index ¶
func (o CustomErrorRuleArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleOutput
func (CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutput ¶
func (o CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutput() CustomErrorRuleArrayOutput
func (CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutputWithContext ¶
func (o CustomErrorRuleArrayOutput) ToCustomErrorRuleArrayOutputWithContext(ctx context.Context) CustomErrorRuleArrayOutput
type CustomErrorRuleInput ¶
type CustomErrorRuleInput interface { pulumi.Input ToCustomErrorRuleOutput() CustomErrorRuleOutput ToCustomErrorRuleOutputWithContext(context.Context) CustomErrorRuleOutput }
CustomErrorRuleInput is an input type that accepts CustomErrorRuleArgs and CustomErrorRuleOutput values. You can construct a concrete instance of `CustomErrorRuleInput` via:
CustomErrorRuleArgs{...}
type CustomErrorRuleOutput ¶
type CustomErrorRuleOutput struct{ *pulumi.OutputState }
A custom error rule.
func (CustomErrorRuleOutput) ElementType ¶
func (CustomErrorRuleOutput) ElementType() reflect.Type
func (CustomErrorRuleOutput) IsErrorType ¶
func (o CustomErrorRuleOutput) IsErrorType() pulumi.BoolPtrOutput
Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.
func (CustomErrorRuleOutput) Selector ¶
func (o CustomErrorRuleOutput) Selector() pulumi.StringPtrOutput
Selects messages to which this rule applies. Refer to selector for syntax details.
func (CustomErrorRuleOutput) ToCustomErrorRuleOutput ¶
func (o CustomErrorRuleOutput) ToCustomErrorRuleOutput() CustomErrorRuleOutput
func (CustomErrorRuleOutput) ToCustomErrorRuleOutputWithContext ¶
func (o CustomErrorRuleOutput) ToCustomErrorRuleOutputWithContext(ctx context.Context) CustomErrorRuleOutput
type CustomErrorRuleResponse ¶
type CustomErrorRuleResponse struct { // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. IsErrorType bool `pulumi:"isErrorType"` // Selects messages to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
A custom error rule.
type CustomErrorRuleResponseArgs ¶
type CustomErrorRuleResponseArgs struct { // Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload. IsErrorType pulumi.BoolInput `pulumi:"isErrorType"` // Selects messages to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
A custom error rule.
func (CustomErrorRuleResponseArgs) ElementType ¶
func (CustomErrorRuleResponseArgs) ElementType() reflect.Type
func (CustomErrorRuleResponseArgs) ToCustomErrorRuleResponseOutput ¶
func (i CustomErrorRuleResponseArgs) ToCustomErrorRuleResponseOutput() CustomErrorRuleResponseOutput
func (CustomErrorRuleResponseArgs) ToCustomErrorRuleResponseOutputWithContext ¶
func (i CustomErrorRuleResponseArgs) ToCustomErrorRuleResponseOutputWithContext(ctx context.Context) CustomErrorRuleResponseOutput
type CustomErrorRuleResponseArray ¶
type CustomErrorRuleResponseArray []CustomErrorRuleResponseInput
func (CustomErrorRuleResponseArray) ElementType ¶
func (CustomErrorRuleResponseArray) ElementType() reflect.Type
func (CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutput ¶
func (i CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutput() CustomErrorRuleResponseArrayOutput
func (CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutputWithContext ¶
func (i CustomErrorRuleResponseArray) ToCustomErrorRuleResponseArrayOutputWithContext(ctx context.Context) CustomErrorRuleResponseArrayOutput
type CustomErrorRuleResponseArrayInput ¶
type CustomErrorRuleResponseArrayInput interface { pulumi.Input ToCustomErrorRuleResponseArrayOutput() CustomErrorRuleResponseArrayOutput ToCustomErrorRuleResponseArrayOutputWithContext(context.Context) CustomErrorRuleResponseArrayOutput }
CustomErrorRuleResponseArrayInput is an input type that accepts CustomErrorRuleResponseArray and CustomErrorRuleResponseArrayOutput values. You can construct a concrete instance of `CustomErrorRuleResponseArrayInput` via:
CustomErrorRuleResponseArray{ CustomErrorRuleResponseArgs{...} }
type CustomErrorRuleResponseArrayOutput ¶
type CustomErrorRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (CustomErrorRuleResponseArrayOutput) ElementType ¶
func (CustomErrorRuleResponseArrayOutput) ElementType() reflect.Type
func (CustomErrorRuleResponseArrayOutput) Index ¶
func (o CustomErrorRuleResponseArrayOutput) Index(i pulumi.IntInput) CustomErrorRuleResponseOutput
func (CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutput ¶
func (o CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutput() CustomErrorRuleResponseArrayOutput
func (CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutputWithContext ¶
func (o CustomErrorRuleResponseArrayOutput) ToCustomErrorRuleResponseArrayOutputWithContext(ctx context.Context) CustomErrorRuleResponseArrayOutput
type CustomErrorRuleResponseInput ¶
type CustomErrorRuleResponseInput interface { pulumi.Input ToCustomErrorRuleResponseOutput() CustomErrorRuleResponseOutput ToCustomErrorRuleResponseOutputWithContext(context.Context) CustomErrorRuleResponseOutput }
CustomErrorRuleResponseInput is an input type that accepts CustomErrorRuleResponseArgs and CustomErrorRuleResponseOutput values. You can construct a concrete instance of `CustomErrorRuleResponseInput` via:
CustomErrorRuleResponseArgs{...}
type CustomErrorRuleResponseOutput ¶
type CustomErrorRuleResponseOutput struct{ *pulumi.OutputState }
A custom error rule.
func (CustomErrorRuleResponseOutput) ElementType ¶
func (CustomErrorRuleResponseOutput) ElementType() reflect.Type
func (CustomErrorRuleResponseOutput) IsErrorType ¶
func (o CustomErrorRuleResponseOutput) IsErrorType() pulumi.BoolOutput
Mark this message as possible payload in error response. Otherwise, objects of this type will be filtered when they appear in error payload.
func (CustomErrorRuleResponseOutput) Selector ¶
func (o CustomErrorRuleResponseOutput) Selector() pulumi.StringOutput
Selects messages to which this rule applies. Refer to selector for syntax details.
func (CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutput ¶
func (o CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutput() CustomErrorRuleResponseOutput
func (CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutputWithContext ¶
func (o CustomErrorRuleResponseOutput) ToCustomErrorRuleResponseOutputWithContext(ctx context.Context) CustomErrorRuleResponseOutput
type CustomHttpPattern ¶
type CustomHttpPattern struct { // The name of this custom HTTP verb. Kind *string `pulumi:"kind"` // The path matched by this custom verb. Path *string `pulumi:"path"` }
A custom pattern is used for defining custom HTTP verb.
type CustomHttpPatternArgs ¶
type CustomHttpPatternArgs struct { // The name of this custom HTTP verb. Kind pulumi.StringPtrInput `pulumi:"kind"` // The path matched by this custom verb. Path pulumi.StringPtrInput `pulumi:"path"` }
A custom pattern is used for defining custom HTTP verb.
func (CustomHttpPatternArgs) ElementType ¶
func (CustomHttpPatternArgs) ElementType() reflect.Type
func (CustomHttpPatternArgs) ToCustomHttpPatternOutput ¶
func (i CustomHttpPatternArgs) ToCustomHttpPatternOutput() CustomHttpPatternOutput
func (CustomHttpPatternArgs) ToCustomHttpPatternOutputWithContext ¶
func (i CustomHttpPatternArgs) ToCustomHttpPatternOutputWithContext(ctx context.Context) CustomHttpPatternOutput
func (CustomHttpPatternArgs) ToCustomHttpPatternPtrOutput ¶
func (i CustomHttpPatternArgs) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
func (CustomHttpPatternArgs) ToCustomHttpPatternPtrOutputWithContext ¶
func (i CustomHttpPatternArgs) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
type CustomHttpPatternInput ¶
type CustomHttpPatternInput interface { pulumi.Input ToCustomHttpPatternOutput() CustomHttpPatternOutput ToCustomHttpPatternOutputWithContext(context.Context) CustomHttpPatternOutput }
CustomHttpPatternInput is an input type that accepts CustomHttpPatternArgs and CustomHttpPatternOutput values. You can construct a concrete instance of `CustomHttpPatternInput` via:
CustomHttpPatternArgs{...}
type CustomHttpPatternOutput ¶
type CustomHttpPatternOutput struct{ *pulumi.OutputState }
A custom pattern is used for defining custom HTTP verb.
func (CustomHttpPatternOutput) ElementType ¶
func (CustomHttpPatternOutput) ElementType() reflect.Type
func (CustomHttpPatternOutput) Kind ¶
func (o CustomHttpPatternOutput) Kind() pulumi.StringPtrOutput
The name of this custom HTTP verb.
func (CustomHttpPatternOutput) Path ¶
func (o CustomHttpPatternOutput) Path() pulumi.StringPtrOutput
The path matched by this custom verb.
func (CustomHttpPatternOutput) ToCustomHttpPatternOutput ¶
func (o CustomHttpPatternOutput) ToCustomHttpPatternOutput() CustomHttpPatternOutput
func (CustomHttpPatternOutput) ToCustomHttpPatternOutputWithContext ¶
func (o CustomHttpPatternOutput) ToCustomHttpPatternOutputWithContext(ctx context.Context) CustomHttpPatternOutput
func (CustomHttpPatternOutput) ToCustomHttpPatternPtrOutput ¶
func (o CustomHttpPatternOutput) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
func (CustomHttpPatternOutput) ToCustomHttpPatternPtrOutputWithContext ¶
func (o CustomHttpPatternOutput) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
type CustomHttpPatternPtrInput ¶
type CustomHttpPatternPtrInput interface { pulumi.Input ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput ToCustomHttpPatternPtrOutputWithContext(context.Context) CustomHttpPatternPtrOutput }
CustomHttpPatternPtrInput is an input type that accepts CustomHttpPatternArgs, CustomHttpPatternPtr and CustomHttpPatternPtrOutput values. You can construct a concrete instance of `CustomHttpPatternPtrInput` via:
CustomHttpPatternArgs{...} or: nil
func CustomHttpPatternPtr ¶
func CustomHttpPatternPtr(v *CustomHttpPatternArgs) CustomHttpPatternPtrInput
type CustomHttpPatternPtrOutput ¶
type CustomHttpPatternPtrOutput struct{ *pulumi.OutputState }
func (CustomHttpPatternPtrOutput) Elem ¶
func (o CustomHttpPatternPtrOutput) Elem() CustomHttpPatternOutput
func (CustomHttpPatternPtrOutput) ElementType ¶
func (CustomHttpPatternPtrOutput) ElementType() reflect.Type
func (CustomHttpPatternPtrOutput) Kind ¶
func (o CustomHttpPatternPtrOutput) Kind() pulumi.StringPtrOutput
The name of this custom HTTP verb.
func (CustomHttpPatternPtrOutput) Path ¶
func (o CustomHttpPatternPtrOutput) Path() pulumi.StringPtrOutput
The path matched by this custom verb.
func (CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutput ¶
func (o CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutput() CustomHttpPatternPtrOutput
func (CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutputWithContext ¶
func (o CustomHttpPatternPtrOutput) ToCustomHttpPatternPtrOutputWithContext(ctx context.Context) CustomHttpPatternPtrOutput
type CustomHttpPatternResponse ¶
type CustomHttpPatternResponse struct { // The name of this custom HTTP verb. Kind string `pulumi:"kind"` // The path matched by this custom verb. Path string `pulumi:"path"` }
A custom pattern is used for defining custom HTTP verb.
type CustomHttpPatternResponseArgs ¶
type CustomHttpPatternResponseArgs struct { // The name of this custom HTTP verb. Kind pulumi.StringInput `pulumi:"kind"` // The path matched by this custom verb. Path pulumi.StringInput `pulumi:"path"` }
A custom pattern is used for defining custom HTTP verb.
func (CustomHttpPatternResponseArgs) ElementType ¶
func (CustomHttpPatternResponseArgs) ElementType() reflect.Type
func (CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutput ¶
func (i CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutput() CustomHttpPatternResponseOutput
func (CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutputWithContext ¶
func (i CustomHttpPatternResponseArgs) ToCustomHttpPatternResponseOutputWithContext(ctx context.Context) CustomHttpPatternResponseOutput
type CustomHttpPatternResponseInput ¶
type CustomHttpPatternResponseInput interface { pulumi.Input ToCustomHttpPatternResponseOutput() CustomHttpPatternResponseOutput ToCustomHttpPatternResponseOutputWithContext(context.Context) CustomHttpPatternResponseOutput }
CustomHttpPatternResponseInput is an input type that accepts CustomHttpPatternResponseArgs and CustomHttpPatternResponseOutput values. You can construct a concrete instance of `CustomHttpPatternResponseInput` via:
CustomHttpPatternResponseArgs{...}
type CustomHttpPatternResponseOutput ¶
type CustomHttpPatternResponseOutput struct{ *pulumi.OutputState }
A custom pattern is used for defining custom HTTP verb.
func (CustomHttpPatternResponseOutput) ElementType ¶
func (CustomHttpPatternResponseOutput) ElementType() reflect.Type
func (CustomHttpPatternResponseOutput) Kind ¶
func (o CustomHttpPatternResponseOutput) Kind() pulumi.StringOutput
The name of this custom HTTP verb.
func (CustomHttpPatternResponseOutput) Path ¶
func (o CustomHttpPatternResponseOutput) Path() pulumi.StringOutput
The path matched by this custom verb.
func (CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutput ¶
func (o CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutput() CustomHttpPatternResponseOutput
func (CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutputWithContext ¶
func (o CustomHttpPatternResponseOutput) ToCustomHttpPatternResponseOutputWithContext(ctx context.Context) CustomHttpPatternResponseOutput
type DeleteServiceStrategy ¶
type DeleteServiceStrategy struct { }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
type DeleteServiceStrategyArgs ¶
type DeleteServiceStrategyArgs struct { }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
func (DeleteServiceStrategyArgs) ElementType ¶
func (DeleteServiceStrategyArgs) ElementType() reflect.Type
func (DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutput ¶
func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutput() DeleteServiceStrategyOutput
func (DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutputWithContext ¶
func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyOutputWithContext(ctx context.Context) DeleteServiceStrategyOutput
func (DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutput ¶
func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
func (DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutputWithContext ¶
func (i DeleteServiceStrategyArgs) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
type DeleteServiceStrategyInput ¶
type DeleteServiceStrategyInput interface { pulumi.Input ToDeleteServiceStrategyOutput() DeleteServiceStrategyOutput ToDeleteServiceStrategyOutputWithContext(context.Context) DeleteServiceStrategyOutput }
DeleteServiceStrategyInput is an input type that accepts DeleteServiceStrategyArgs and DeleteServiceStrategyOutput values. You can construct a concrete instance of `DeleteServiceStrategyInput` via:
DeleteServiceStrategyArgs{...}
type DeleteServiceStrategyOutput ¶
type DeleteServiceStrategyOutput struct{ *pulumi.OutputState }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
func (DeleteServiceStrategyOutput) ElementType ¶
func (DeleteServiceStrategyOutput) ElementType() reflect.Type
func (DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutput ¶
func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutput() DeleteServiceStrategyOutput
func (DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutputWithContext ¶
func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyOutputWithContext(ctx context.Context) DeleteServiceStrategyOutput
func (DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutput ¶
func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
func (DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutputWithContext ¶
func (o DeleteServiceStrategyOutput) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
type DeleteServiceStrategyPtrInput ¶
type DeleteServiceStrategyPtrInput interface { pulumi.Input ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput ToDeleteServiceStrategyPtrOutputWithContext(context.Context) DeleteServiceStrategyPtrOutput }
DeleteServiceStrategyPtrInput is an input type that accepts DeleteServiceStrategyArgs, DeleteServiceStrategyPtr and DeleteServiceStrategyPtrOutput values. You can construct a concrete instance of `DeleteServiceStrategyPtrInput` via:
DeleteServiceStrategyArgs{...} or: nil
func DeleteServiceStrategyPtr ¶
func DeleteServiceStrategyPtr(v *DeleteServiceStrategyArgs) DeleteServiceStrategyPtrInput
type DeleteServiceStrategyPtrOutput ¶
type DeleteServiceStrategyPtrOutput struct{ *pulumi.OutputState }
func (DeleteServiceStrategyPtrOutput) Elem ¶
func (o DeleteServiceStrategyPtrOutput) Elem() DeleteServiceStrategyOutput
func (DeleteServiceStrategyPtrOutput) ElementType ¶
func (DeleteServiceStrategyPtrOutput) ElementType() reflect.Type
func (DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutput ¶
func (o DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutput() DeleteServiceStrategyPtrOutput
func (DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutputWithContext ¶
func (o DeleteServiceStrategyPtrOutput) ToDeleteServiceStrategyPtrOutputWithContext(ctx context.Context) DeleteServiceStrategyPtrOutput
type DeleteServiceStrategyResponse ¶
type DeleteServiceStrategyResponse struct { }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
type DeleteServiceStrategyResponseArgs ¶
type DeleteServiceStrategyResponseArgs struct { }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
func (DeleteServiceStrategyResponseArgs) ElementType ¶
func (DeleteServiceStrategyResponseArgs) ElementType() reflect.Type
func (DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutput ¶
func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutput() DeleteServiceStrategyResponseOutput
func (DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutputWithContext ¶
func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponseOutputWithContext(ctx context.Context) DeleteServiceStrategyResponseOutput
func (DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutput ¶
func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
func (DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutputWithContext ¶
func (i DeleteServiceStrategyResponseArgs) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
type DeleteServiceStrategyResponseInput ¶
type DeleteServiceStrategyResponseInput interface { pulumi.Input ToDeleteServiceStrategyResponseOutput() DeleteServiceStrategyResponseOutput ToDeleteServiceStrategyResponseOutputWithContext(context.Context) DeleteServiceStrategyResponseOutput }
DeleteServiceStrategyResponseInput is an input type that accepts DeleteServiceStrategyResponseArgs and DeleteServiceStrategyResponseOutput values. You can construct a concrete instance of `DeleteServiceStrategyResponseInput` via:
DeleteServiceStrategyResponseArgs{...}
type DeleteServiceStrategyResponseOutput ¶
type DeleteServiceStrategyResponseOutput struct{ *pulumi.OutputState }
Strategy used to delete a service. This strategy is a placeholder only used by the system generated rollout to delete a service.
func (DeleteServiceStrategyResponseOutput) ElementType ¶
func (DeleteServiceStrategyResponseOutput) ElementType() reflect.Type
func (DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutput ¶
func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutput() DeleteServiceStrategyResponseOutput
func (DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutputWithContext ¶
func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponseOutputWithContext(ctx context.Context) DeleteServiceStrategyResponseOutput
func (DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutput ¶
func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
func (DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext ¶
func (o DeleteServiceStrategyResponseOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
type DeleteServiceStrategyResponsePtrInput ¶
type DeleteServiceStrategyResponsePtrInput interface { pulumi.Input ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput ToDeleteServiceStrategyResponsePtrOutputWithContext(context.Context) DeleteServiceStrategyResponsePtrOutput }
DeleteServiceStrategyResponsePtrInput is an input type that accepts DeleteServiceStrategyResponseArgs, DeleteServiceStrategyResponsePtr and DeleteServiceStrategyResponsePtrOutput values. You can construct a concrete instance of `DeleteServiceStrategyResponsePtrInput` via:
DeleteServiceStrategyResponseArgs{...} or: nil
func DeleteServiceStrategyResponsePtr ¶
func DeleteServiceStrategyResponsePtr(v *DeleteServiceStrategyResponseArgs) DeleteServiceStrategyResponsePtrInput
type DeleteServiceStrategyResponsePtrOutput ¶
type DeleteServiceStrategyResponsePtrOutput struct{ *pulumi.OutputState }
func (DeleteServiceStrategyResponsePtrOutput) ElementType ¶
func (DeleteServiceStrategyResponsePtrOutput) ElementType() reflect.Type
func (DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutput ¶
func (o DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutput() DeleteServiceStrategyResponsePtrOutput
func (DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext ¶
func (o DeleteServiceStrategyResponsePtrOutput) ToDeleteServiceStrategyResponsePtrOutputWithContext(ctx context.Context) DeleteServiceStrategyResponsePtrOutput
type Documentation ¶
type Documentation struct { // The URL to the root of documentation. DocumentationRootUrl *string `pulumi:"documentationRootUrl"` // Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field. Overview *string `pulumi:"overview"` // The top level pages for the documentation set. Pages []Page `pulumi:"pages"` // A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order. Rules []DocumentationRule `pulumi:"rules"` // Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to. ServiceRootUrl *string `pulumi:"serviceRootUrl"` // A short summary of what the service does. Can only be provided by plain text. Summary *string `pulumi:"summary"` }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
type DocumentationArgs ¶
type DocumentationArgs struct { // The URL to the root of documentation. DocumentationRootUrl pulumi.StringPtrInput `pulumi:"documentationRootUrl"` // Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field. Overview pulumi.StringPtrInput `pulumi:"overview"` // The top level pages for the documentation set. Pages PageArrayInput `pulumi:"pages"` // A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order. Rules DocumentationRuleArrayInput `pulumi:"rules"` // Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to. ServiceRootUrl pulumi.StringPtrInput `pulumi:"serviceRootUrl"` // A short summary of what the service does. Can only be provided by plain text. Summary pulumi.StringPtrInput `pulumi:"summary"` }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
func (DocumentationArgs) ElementType ¶
func (DocumentationArgs) ElementType() reflect.Type
func (DocumentationArgs) ToDocumentationOutput ¶
func (i DocumentationArgs) ToDocumentationOutput() DocumentationOutput
func (DocumentationArgs) ToDocumentationOutputWithContext ¶
func (i DocumentationArgs) ToDocumentationOutputWithContext(ctx context.Context) DocumentationOutput
func (DocumentationArgs) ToDocumentationPtrOutput ¶
func (i DocumentationArgs) ToDocumentationPtrOutput() DocumentationPtrOutput
func (DocumentationArgs) ToDocumentationPtrOutputWithContext ¶
func (i DocumentationArgs) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
type DocumentationInput ¶
type DocumentationInput interface { pulumi.Input ToDocumentationOutput() DocumentationOutput ToDocumentationOutputWithContext(context.Context) DocumentationOutput }
DocumentationInput is an input type that accepts DocumentationArgs and DocumentationOutput values. You can construct a concrete instance of `DocumentationInput` via:
DocumentationArgs{...}
type DocumentationOutput ¶
type DocumentationOutput struct{ *pulumi.OutputState }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
func (DocumentationOutput) DocumentationRootUrl ¶
func (o DocumentationOutput) DocumentationRootUrl() pulumi.StringPtrOutput
The URL to the root of documentation.
func (DocumentationOutput) ElementType ¶
func (DocumentationOutput) ElementType() reflect.Type
func (DocumentationOutput) Overview ¶
func (o DocumentationOutput) Overview() pulumi.StringPtrOutput
Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.
func (DocumentationOutput) Pages ¶
func (o DocumentationOutput) Pages() PageArrayOutput
The top level pages for the documentation set.
func (DocumentationOutput) Rules ¶
func (o DocumentationOutput) Rules() DocumentationRuleArrayOutput
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
func (DocumentationOutput) ServiceRootUrl ¶
func (o DocumentationOutput) ServiceRootUrl() pulumi.StringPtrOutput
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
func (DocumentationOutput) Summary ¶
func (o DocumentationOutput) Summary() pulumi.StringPtrOutput
A short summary of what the service does. Can only be provided by plain text.
func (DocumentationOutput) ToDocumentationOutput ¶
func (o DocumentationOutput) ToDocumentationOutput() DocumentationOutput
func (DocumentationOutput) ToDocumentationOutputWithContext ¶
func (o DocumentationOutput) ToDocumentationOutputWithContext(ctx context.Context) DocumentationOutput
func (DocumentationOutput) ToDocumentationPtrOutput ¶
func (o DocumentationOutput) ToDocumentationPtrOutput() DocumentationPtrOutput
func (DocumentationOutput) ToDocumentationPtrOutputWithContext ¶
func (o DocumentationOutput) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
type DocumentationPtrInput ¶
type DocumentationPtrInput interface { pulumi.Input ToDocumentationPtrOutput() DocumentationPtrOutput ToDocumentationPtrOutputWithContext(context.Context) DocumentationPtrOutput }
DocumentationPtrInput is an input type that accepts DocumentationArgs, DocumentationPtr and DocumentationPtrOutput values. You can construct a concrete instance of `DocumentationPtrInput` via:
DocumentationArgs{...} or: nil
func DocumentationPtr ¶
func DocumentationPtr(v *DocumentationArgs) DocumentationPtrInput
type DocumentationPtrOutput ¶
type DocumentationPtrOutput struct{ *pulumi.OutputState }
func (DocumentationPtrOutput) DocumentationRootUrl ¶
func (o DocumentationPtrOutput) DocumentationRootUrl() pulumi.StringPtrOutput
The URL to the root of documentation.
func (DocumentationPtrOutput) Elem ¶
func (o DocumentationPtrOutput) Elem() DocumentationOutput
func (DocumentationPtrOutput) ElementType ¶
func (DocumentationPtrOutput) ElementType() reflect.Type
func (DocumentationPtrOutput) Overview ¶
func (o DocumentationPtrOutput) Overview() pulumi.StringPtrOutput
Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.
func (DocumentationPtrOutput) Pages ¶
func (o DocumentationPtrOutput) Pages() PageArrayOutput
The top level pages for the documentation set.
func (DocumentationPtrOutput) Rules ¶
func (o DocumentationPtrOutput) Rules() DocumentationRuleArrayOutput
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
func (DocumentationPtrOutput) ServiceRootUrl ¶
func (o DocumentationPtrOutput) ServiceRootUrl() pulumi.StringPtrOutput
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
func (DocumentationPtrOutput) Summary ¶
func (o DocumentationPtrOutput) Summary() pulumi.StringPtrOutput
A short summary of what the service does. Can only be provided by plain text.
func (DocumentationPtrOutput) ToDocumentationPtrOutput ¶
func (o DocumentationPtrOutput) ToDocumentationPtrOutput() DocumentationPtrOutput
func (DocumentationPtrOutput) ToDocumentationPtrOutputWithContext ¶
func (o DocumentationPtrOutput) ToDocumentationPtrOutputWithContext(ctx context.Context) DocumentationPtrOutput
type DocumentationResponse ¶
type DocumentationResponse struct { // The URL to the root of documentation. DocumentationRootUrl string `pulumi:"documentationRootUrl"` // Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field. Overview string `pulumi:"overview"` // The top level pages for the documentation set. Pages []PageResponse `pulumi:"pages"` // A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order. Rules []DocumentationRuleResponse `pulumi:"rules"` // Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to. ServiceRootUrl string `pulumi:"serviceRootUrl"` // A short summary of what the service does. Can only be provided by plain text. Summary string `pulumi:"summary"` }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
type DocumentationResponseArgs ¶
type DocumentationResponseArgs struct { // The URL to the root of documentation. DocumentationRootUrl pulumi.StringInput `pulumi:"documentationRootUrl"` // Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field. Overview pulumi.StringInput `pulumi:"overview"` // The top level pages for the documentation set. Pages PageResponseArrayInput `pulumi:"pages"` // A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order. Rules DocumentationRuleResponseArrayInput `pulumi:"rules"` // Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to. ServiceRootUrl pulumi.StringInput `pulumi:"serviceRootUrl"` // A short summary of what the service does. Can only be provided by plain text. Summary pulumi.StringInput `pulumi:"summary"` }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
func (DocumentationResponseArgs) ElementType ¶
func (DocumentationResponseArgs) ElementType() reflect.Type
func (DocumentationResponseArgs) ToDocumentationResponseOutput ¶
func (i DocumentationResponseArgs) ToDocumentationResponseOutput() DocumentationResponseOutput
func (DocumentationResponseArgs) ToDocumentationResponseOutputWithContext ¶
func (i DocumentationResponseArgs) ToDocumentationResponseOutputWithContext(ctx context.Context) DocumentationResponseOutput
func (DocumentationResponseArgs) ToDocumentationResponsePtrOutput ¶
func (i DocumentationResponseArgs) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
func (DocumentationResponseArgs) ToDocumentationResponsePtrOutputWithContext ¶
func (i DocumentationResponseArgs) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
type DocumentationResponseInput ¶
type DocumentationResponseInput interface { pulumi.Input ToDocumentationResponseOutput() DocumentationResponseOutput ToDocumentationResponseOutputWithContext(context.Context) DocumentationResponseOutput }
DocumentationResponseInput is an input type that accepts DocumentationResponseArgs and DocumentationResponseOutput values. You can construct a concrete instance of `DocumentationResponseInput` via:
DocumentationResponseArgs{...}
type DocumentationResponseOutput ¶
type DocumentationResponseOutput struct{ *pulumi.OutputState }
`Documentation` provides the information for describing a service. Example: documentation: summary: > The Google Calendar API gives access to most calendar features. pages: - name: Overview content: (== include google/foo/overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==) rules: - selector: google.calendar.Calendar.Get description: > ... - selector: google.calendar.Calendar.Put description: > ... Documentation is provided in markdown syntax. In addition to standard markdown features, definition lists, tables and fenced code blocks are supported. Section headers can be provided and are interpreted relative to the section nesting of the context where a documentation fragment is embedded. Documentation from the IDL is merged with documentation defined via the config at normalization time, where documentation provided by config rules overrides IDL provided. A number of constructs specific to the API platform are supported in documentation text. In order to reference a proto element, the following notation can be used: [fully.qualified.proto.name][] To override the display text used for the link, this can be used: [display text][fully.qualified.proto.name] Text can be excluded from doc using the following notation: (-- internal comment --) A few directives are available in documentation. Note that directives must appear on a single line to be properly identified. The `include` directive includes a markdown file from an external source: (== include path/to/file ==) The `resource_for` directive marks a message to be the resource of a collection in REST view. If it is not specified, tools attempt to infer the resource from the operations in a collection: (== resource_for v1.shelves.books ==) The directive `suppress_warning` does not directly affect documentation and is documented together with service config validation.
func (DocumentationResponseOutput) DocumentationRootUrl ¶
func (o DocumentationResponseOutput) DocumentationRootUrl() pulumi.StringOutput
The URL to the root of documentation.
func (DocumentationResponseOutput) ElementType ¶
func (DocumentationResponseOutput) ElementType() reflect.Type
func (DocumentationResponseOutput) Overview ¶
func (o DocumentationResponseOutput) Overview() pulumi.StringOutput
Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.
func (DocumentationResponseOutput) Pages ¶
func (o DocumentationResponseOutput) Pages() PageResponseArrayOutput
The top level pages for the documentation set.
func (DocumentationResponseOutput) Rules ¶
func (o DocumentationResponseOutput) Rules() DocumentationRuleResponseArrayOutput
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
func (DocumentationResponseOutput) ServiceRootUrl ¶
func (o DocumentationResponseOutput) ServiceRootUrl() pulumi.StringOutput
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
func (DocumentationResponseOutput) Summary ¶
func (o DocumentationResponseOutput) Summary() pulumi.StringOutput
A short summary of what the service does. Can only be provided by plain text.
func (DocumentationResponseOutput) ToDocumentationResponseOutput ¶
func (o DocumentationResponseOutput) ToDocumentationResponseOutput() DocumentationResponseOutput
func (DocumentationResponseOutput) ToDocumentationResponseOutputWithContext ¶
func (o DocumentationResponseOutput) ToDocumentationResponseOutputWithContext(ctx context.Context) DocumentationResponseOutput
func (DocumentationResponseOutput) ToDocumentationResponsePtrOutput ¶
func (o DocumentationResponseOutput) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
func (DocumentationResponseOutput) ToDocumentationResponsePtrOutputWithContext ¶
func (o DocumentationResponseOutput) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
type DocumentationResponsePtrInput ¶
type DocumentationResponsePtrInput interface { pulumi.Input ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput ToDocumentationResponsePtrOutputWithContext(context.Context) DocumentationResponsePtrOutput }
DocumentationResponsePtrInput is an input type that accepts DocumentationResponseArgs, DocumentationResponsePtr and DocumentationResponsePtrOutput values. You can construct a concrete instance of `DocumentationResponsePtrInput` via:
DocumentationResponseArgs{...} or: nil
func DocumentationResponsePtr ¶
func DocumentationResponsePtr(v *DocumentationResponseArgs) DocumentationResponsePtrInput
type DocumentationResponsePtrOutput ¶
type DocumentationResponsePtrOutput struct{ *pulumi.OutputState }
func (DocumentationResponsePtrOutput) DocumentationRootUrl ¶
func (o DocumentationResponsePtrOutput) DocumentationRootUrl() pulumi.StringPtrOutput
The URL to the root of documentation.
func (DocumentationResponsePtrOutput) Elem ¶
func (o DocumentationResponsePtrOutput) Elem() DocumentationResponseOutput
func (DocumentationResponsePtrOutput) ElementType ¶
func (DocumentationResponsePtrOutput) ElementType() reflect.Type
func (DocumentationResponsePtrOutput) Overview ¶
func (o DocumentationResponsePtrOutput) Overview() pulumi.StringPtrOutput
Declares a single overview page. For example: documentation: summary: ... overview: (== include overview.md ==) This is a shortcut for the following declaration (using pages style): documentation: summary: ... pages: - name: Overview content: (== include overview.md ==) Note: you cannot specify both `overview` field and `pages` field.
func (DocumentationResponsePtrOutput) Pages ¶
func (o DocumentationResponsePtrOutput) Pages() PageResponseArrayOutput
The top level pages for the documentation set.
func (DocumentationResponsePtrOutput) Rules ¶
func (o DocumentationResponsePtrOutput) Rules() DocumentationRuleResponseArrayOutput
A list of documentation rules that apply to individual API elements. **NOTE:** All service configuration rules follow "last one wins" order.
func (DocumentationResponsePtrOutput) ServiceRootUrl ¶
func (o DocumentationResponsePtrOutput) ServiceRootUrl() pulumi.StringPtrOutput
Specifies the service root url if the default one (the service name from the yaml file) is not suitable. This can be seen in any fully specified service urls as well as sections that show a base that other urls are relative to.
func (DocumentationResponsePtrOutput) Summary ¶
func (o DocumentationResponsePtrOutput) Summary() pulumi.StringPtrOutput
A short summary of what the service does. Can only be provided by plain text.
func (DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutput ¶
func (o DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutput() DocumentationResponsePtrOutput
func (DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutputWithContext ¶
func (o DocumentationResponsePtrOutput) ToDocumentationResponsePtrOutputWithContext(ctx context.Context) DocumentationResponsePtrOutput
type DocumentationRule ¶
type DocumentationRule struct { // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. DeprecationDescription *string `pulumi:"deprecationDescription"` // Description of the selected API(s). Description *string `pulumi:"description"` // The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used. Selector *string `pulumi:"selector"` }
A documentation rule provides information about individual API elements.
type DocumentationRuleArgs ¶
type DocumentationRuleArgs struct { // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. DeprecationDescription pulumi.StringPtrInput `pulumi:"deprecationDescription"` // Description of the selected API(s). Description pulumi.StringPtrInput `pulumi:"description"` // The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used. Selector pulumi.StringPtrInput `pulumi:"selector"` }
A documentation rule provides information about individual API elements.
func (DocumentationRuleArgs) ElementType ¶
func (DocumentationRuleArgs) ElementType() reflect.Type
func (DocumentationRuleArgs) ToDocumentationRuleOutput ¶
func (i DocumentationRuleArgs) ToDocumentationRuleOutput() DocumentationRuleOutput
func (DocumentationRuleArgs) ToDocumentationRuleOutputWithContext ¶
func (i DocumentationRuleArgs) ToDocumentationRuleOutputWithContext(ctx context.Context) DocumentationRuleOutput
type DocumentationRuleArray ¶
type DocumentationRuleArray []DocumentationRuleInput
func (DocumentationRuleArray) ElementType ¶
func (DocumentationRuleArray) ElementType() reflect.Type
func (DocumentationRuleArray) ToDocumentationRuleArrayOutput ¶
func (i DocumentationRuleArray) ToDocumentationRuleArrayOutput() DocumentationRuleArrayOutput
func (DocumentationRuleArray) ToDocumentationRuleArrayOutputWithContext ¶
func (i DocumentationRuleArray) ToDocumentationRuleArrayOutputWithContext(ctx context.Context) DocumentationRuleArrayOutput
type DocumentationRuleArrayInput ¶
type DocumentationRuleArrayInput interface { pulumi.Input ToDocumentationRuleArrayOutput() DocumentationRuleArrayOutput ToDocumentationRuleArrayOutputWithContext(context.Context) DocumentationRuleArrayOutput }
DocumentationRuleArrayInput is an input type that accepts DocumentationRuleArray and DocumentationRuleArrayOutput values. You can construct a concrete instance of `DocumentationRuleArrayInput` via:
DocumentationRuleArray{ DocumentationRuleArgs{...} }
type DocumentationRuleArrayOutput ¶
type DocumentationRuleArrayOutput struct{ *pulumi.OutputState }
func (DocumentationRuleArrayOutput) ElementType ¶
func (DocumentationRuleArrayOutput) ElementType() reflect.Type
func (DocumentationRuleArrayOutput) Index ¶
func (o DocumentationRuleArrayOutput) Index(i pulumi.IntInput) DocumentationRuleOutput
func (DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutput ¶
func (o DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutput() DocumentationRuleArrayOutput
func (DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutputWithContext ¶
func (o DocumentationRuleArrayOutput) ToDocumentationRuleArrayOutputWithContext(ctx context.Context) DocumentationRuleArrayOutput
type DocumentationRuleInput ¶
type DocumentationRuleInput interface { pulumi.Input ToDocumentationRuleOutput() DocumentationRuleOutput ToDocumentationRuleOutputWithContext(context.Context) DocumentationRuleOutput }
DocumentationRuleInput is an input type that accepts DocumentationRuleArgs and DocumentationRuleOutput values. You can construct a concrete instance of `DocumentationRuleInput` via:
DocumentationRuleArgs{...}
type DocumentationRuleOutput ¶
type DocumentationRuleOutput struct{ *pulumi.OutputState }
A documentation rule provides information about individual API elements.
func (DocumentationRuleOutput) DeprecationDescription ¶
func (o DocumentationRuleOutput) DeprecationDescription() pulumi.StringPtrOutput
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
func (DocumentationRuleOutput) Description ¶
func (o DocumentationRuleOutput) Description() pulumi.StringPtrOutput
Description of the selected API(s).
func (DocumentationRuleOutput) ElementType ¶
func (DocumentationRuleOutput) ElementType() reflect.Type
func (DocumentationRuleOutput) Selector ¶
func (o DocumentationRuleOutput) Selector() pulumi.StringPtrOutput
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
func (DocumentationRuleOutput) ToDocumentationRuleOutput ¶
func (o DocumentationRuleOutput) ToDocumentationRuleOutput() DocumentationRuleOutput
func (DocumentationRuleOutput) ToDocumentationRuleOutputWithContext ¶
func (o DocumentationRuleOutput) ToDocumentationRuleOutputWithContext(ctx context.Context) DocumentationRuleOutput
type DocumentationRuleResponse ¶
type DocumentationRuleResponse struct { // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. DeprecationDescription string `pulumi:"deprecationDescription"` // Description of the selected API(s). Description string `pulumi:"description"` // The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used. Selector string `pulumi:"selector"` }
A documentation rule provides information about individual API elements.
type DocumentationRuleResponseArgs ¶
type DocumentationRuleResponseArgs struct { // Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`. DeprecationDescription pulumi.StringInput `pulumi:"deprecationDescription"` // Description of the selected API(s). Description pulumi.StringInput `pulumi:"description"` // The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used. Selector pulumi.StringInput `pulumi:"selector"` }
A documentation rule provides information about individual API elements.
func (DocumentationRuleResponseArgs) ElementType ¶
func (DocumentationRuleResponseArgs) ElementType() reflect.Type
func (DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutput ¶
func (i DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutput() DocumentationRuleResponseOutput
func (DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutputWithContext ¶
func (i DocumentationRuleResponseArgs) ToDocumentationRuleResponseOutputWithContext(ctx context.Context) DocumentationRuleResponseOutput
type DocumentationRuleResponseArray ¶
type DocumentationRuleResponseArray []DocumentationRuleResponseInput
func (DocumentationRuleResponseArray) ElementType ¶
func (DocumentationRuleResponseArray) ElementType() reflect.Type
func (DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutput ¶
func (i DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutput() DocumentationRuleResponseArrayOutput
func (DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutputWithContext ¶
func (i DocumentationRuleResponseArray) ToDocumentationRuleResponseArrayOutputWithContext(ctx context.Context) DocumentationRuleResponseArrayOutput
type DocumentationRuleResponseArrayInput ¶
type DocumentationRuleResponseArrayInput interface { pulumi.Input ToDocumentationRuleResponseArrayOutput() DocumentationRuleResponseArrayOutput ToDocumentationRuleResponseArrayOutputWithContext(context.Context) DocumentationRuleResponseArrayOutput }
DocumentationRuleResponseArrayInput is an input type that accepts DocumentationRuleResponseArray and DocumentationRuleResponseArrayOutput values. You can construct a concrete instance of `DocumentationRuleResponseArrayInput` via:
DocumentationRuleResponseArray{ DocumentationRuleResponseArgs{...} }
type DocumentationRuleResponseArrayOutput ¶
type DocumentationRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (DocumentationRuleResponseArrayOutput) ElementType ¶
func (DocumentationRuleResponseArrayOutput) ElementType() reflect.Type
func (DocumentationRuleResponseArrayOutput) Index ¶
func (o DocumentationRuleResponseArrayOutput) Index(i pulumi.IntInput) DocumentationRuleResponseOutput
func (DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutput ¶
func (o DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutput() DocumentationRuleResponseArrayOutput
func (DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutputWithContext ¶
func (o DocumentationRuleResponseArrayOutput) ToDocumentationRuleResponseArrayOutputWithContext(ctx context.Context) DocumentationRuleResponseArrayOutput
type DocumentationRuleResponseInput ¶
type DocumentationRuleResponseInput interface { pulumi.Input ToDocumentationRuleResponseOutput() DocumentationRuleResponseOutput ToDocumentationRuleResponseOutputWithContext(context.Context) DocumentationRuleResponseOutput }
DocumentationRuleResponseInput is an input type that accepts DocumentationRuleResponseArgs and DocumentationRuleResponseOutput values. You can construct a concrete instance of `DocumentationRuleResponseInput` via:
DocumentationRuleResponseArgs{...}
type DocumentationRuleResponseOutput ¶
type DocumentationRuleResponseOutput struct{ *pulumi.OutputState }
A documentation rule provides information about individual API elements.
func (DocumentationRuleResponseOutput) DeprecationDescription ¶
func (o DocumentationRuleResponseOutput) DeprecationDescription() pulumi.StringOutput
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
func (DocumentationRuleResponseOutput) Description ¶
func (o DocumentationRuleResponseOutput) Description() pulumi.StringOutput
Description of the selected API(s).
func (DocumentationRuleResponseOutput) ElementType ¶
func (DocumentationRuleResponseOutput) ElementType() reflect.Type
func (DocumentationRuleResponseOutput) Selector ¶
func (o DocumentationRuleResponseOutput) Selector() pulumi.StringOutput
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A wildcard will match one or more components. To specify a default for all applicable elements, the whole pattern "*" is used.
func (DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutput ¶
func (o DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutput() DocumentationRuleResponseOutput
func (DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutputWithContext ¶
func (o DocumentationRuleResponseOutput) ToDocumentationRuleResponseOutputWithContext(ctx context.Context) DocumentationRuleResponseOutput
type Endpoint ¶
type Endpoint struct { // Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. AllowCors *bool `pulumi:"allowCors"` // The canonical name of this endpoint. Name *string `pulumi:"name"` // The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com". Target *string `pulumi:"target"` }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
type EndpointArgs ¶
type EndpointArgs struct { // Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. AllowCors pulumi.BoolPtrInput `pulumi:"allowCors"` // The canonical name of this endpoint. Name pulumi.StringPtrInput `pulumi:"name"` // The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com". Target pulumi.StringPtrInput `pulumi:"target"` }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
func (EndpointArgs) ElementType ¶
func (EndpointArgs) ElementType() reflect.Type
func (EndpointArgs) ToEndpointOutput ¶
func (i EndpointArgs) ToEndpointOutput() EndpointOutput
func (EndpointArgs) ToEndpointOutputWithContext ¶
func (i EndpointArgs) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointArray ¶
type EndpointArray []EndpointInput
func (EndpointArray) ElementType ¶
func (EndpointArray) ElementType() reflect.Type
func (EndpointArray) ToEndpointArrayOutput ¶
func (i EndpointArray) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArray) ToEndpointArrayOutputWithContext ¶
func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointArrayInput ¶
type EndpointArrayInput interface { pulumi.Input ToEndpointArrayOutput() EndpointArrayOutput ToEndpointArrayOutputWithContext(context.Context) EndpointArrayOutput }
EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. You can construct a concrete instance of `EndpointArrayInput` via:
EndpointArray{ EndpointArgs{...} }
type EndpointArrayOutput ¶
type EndpointArrayOutput struct{ *pulumi.OutputState }
func (EndpointArrayOutput) ElementType ¶
func (EndpointArrayOutput) ElementType() reflect.Type
func (EndpointArrayOutput) Index ¶
func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput
func (EndpointArrayOutput) ToEndpointArrayOutput ¶
func (o EndpointArrayOutput) ToEndpointArrayOutput() EndpointArrayOutput
func (EndpointArrayOutput) ToEndpointArrayOutputWithContext ¶
func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Context) EndpointArrayOutput
type EndpointInput ¶
type EndpointInput interface { pulumi.Input ToEndpointOutput() EndpointOutput ToEndpointOutputWithContext(context.Context) EndpointOutput }
EndpointInput is an input type that accepts EndpointArgs and EndpointOutput values. You can construct a concrete instance of `EndpointInput` via:
EndpointArgs{...}
type EndpointOutput ¶
type EndpointOutput struct{ *pulumi.OutputState }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
func (EndpointOutput) AllowCors ¶
func (o EndpointOutput) AllowCors() pulumi.BoolPtrOutput
Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
func (EndpointOutput) ElementType ¶
func (EndpointOutput) ElementType() reflect.Type
func (EndpointOutput) Name ¶
func (o EndpointOutput) Name() pulumi.StringPtrOutput
The canonical name of this endpoint.
func (EndpointOutput) Target ¶
func (o EndpointOutput) Target() pulumi.StringPtrOutput
The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com".
func (EndpointOutput) ToEndpointOutput ¶
func (o EndpointOutput) ToEndpointOutput() EndpointOutput
func (EndpointOutput) ToEndpointOutputWithContext ¶
func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) EndpointOutput
type EndpointResponse ¶
type EndpointResponse struct { // Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. AllowCors bool `pulumi:"allowCors"` // The canonical name of this endpoint. Name string `pulumi:"name"` // The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com". Target string `pulumi:"target"` }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
type EndpointResponseArgs ¶
type EndpointResponseArgs struct { // Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed. AllowCors pulumi.BoolInput `pulumi:"allowCors"` // The canonical name of this endpoint. Name pulumi.StringInput `pulumi:"name"` // The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com". Target pulumi.StringInput `pulumi:"target"` }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
func (EndpointResponseArgs) ElementType ¶
func (EndpointResponseArgs) ElementType() reflect.Type
func (EndpointResponseArgs) ToEndpointResponseOutput ¶
func (i EndpointResponseArgs) ToEndpointResponseOutput() EndpointResponseOutput
func (EndpointResponseArgs) ToEndpointResponseOutputWithContext ¶
func (i EndpointResponseArgs) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
type EndpointResponseArray ¶
type EndpointResponseArray []EndpointResponseInput
func (EndpointResponseArray) ElementType ¶
func (EndpointResponseArray) ElementType() reflect.Type
func (EndpointResponseArray) ToEndpointResponseArrayOutput ¶
func (i EndpointResponseArray) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
func (EndpointResponseArray) ToEndpointResponseArrayOutputWithContext ¶
func (i EndpointResponseArray) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
type EndpointResponseArrayInput ¶
type EndpointResponseArrayInput interface { pulumi.Input ToEndpointResponseArrayOutput() EndpointResponseArrayOutput ToEndpointResponseArrayOutputWithContext(context.Context) EndpointResponseArrayOutput }
EndpointResponseArrayInput is an input type that accepts EndpointResponseArray and EndpointResponseArrayOutput values. You can construct a concrete instance of `EndpointResponseArrayInput` via:
EndpointResponseArray{ EndpointResponseArgs{...} }
type EndpointResponseArrayOutput ¶
type EndpointResponseArrayOutput struct{ *pulumi.OutputState }
func (EndpointResponseArrayOutput) ElementType ¶
func (EndpointResponseArrayOutput) ElementType() reflect.Type
func (EndpointResponseArrayOutput) Index ¶
func (o EndpointResponseArrayOutput) Index(i pulumi.IntInput) EndpointResponseOutput
func (EndpointResponseArrayOutput) ToEndpointResponseArrayOutput ¶
func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutput() EndpointResponseArrayOutput
func (EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext ¶
func (o EndpointResponseArrayOutput) ToEndpointResponseArrayOutputWithContext(ctx context.Context) EndpointResponseArrayOutput
type EndpointResponseInput ¶
type EndpointResponseInput interface { pulumi.Input ToEndpointResponseOutput() EndpointResponseOutput ToEndpointResponseOutputWithContext(context.Context) EndpointResponseOutput }
EndpointResponseInput is an input type that accepts EndpointResponseArgs and EndpointResponseOutput values. You can construct a concrete instance of `EndpointResponseInput` via:
EndpointResponseArgs{...}
type EndpointResponseOutput ¶
type EndpointResponseOutput struct{ *pulumi.OutputState }
`Endpoint` describes a network endpoint of a service that serves a set of APIs. It is commonly known as a service endpoint. A service may expose any number of service endpoints, and all service endpoints share the same service definition, such as quota limits and monitoring metrics. Example service configuration: name: library-example.googleapis.com endpoints: # Below entry makes 'google.example.library.v1.Library' # API be served from endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS calls to be passed to the backend, for # it to decide whether the subsequent cross-origin request is # allowed to proceed. - name: library-example.googleapis.com allow_cors: true
func (EndpointResponseOutput) AllowCors ¶
func (o EndpointResponseOutput) AllowCors() pulumi.BoolOutput
Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka cross-domain traffic, would allow the backends served from this endpoint to receive and respond to HTTP OPTIONS requests. The response will be used by the browser to determine whether the subsequent cross-origin request is allowed to proceed.
func (EndpointResponseOutput) ElementType ¶
func (EndpointResponseOutput) ElementType() reflect.Type
func (EndpointResponseOutput) Name ¶
func (o EndpointResponseOutput) Name() pulumi.StringOutput
The canonical name of this endpoint.
func (EndpointResponseOutput) Target ¶
func (o EndpointResponseOutput) Target() pulumi.StringOutput
The specification of an Internet routable address of API frontend that will handle requests to this [API Endpoint](https://cloud.google.com/apis/design/glossary). It should be either a valid IPv4 address or a fully-qualified domain name. For example, "8.8.8.8" or "myservice.appspot.com".
func (EndpointResponseOutput) ToEndpointResponseOutput ¶
func (o EndpointResponseOutput) ToEndpointResponseOutput() EndpointResponseOutput
func (EndpointResponseOutput) ToEndpointResponseOutputWithContext ¶
func (o EndpointResponseOutput) ToEndpointResponseOutputWithContext(ctx context.Context) EndpointResponseOutput
type Enum ¶
type Enum struct { // Enum value definitions. Enumvalue []EnumValue `pulumi:"enumvalue"` // Enum type name. Name *string `pulumi:"name"` // Protocol buffer options. Options []Option `pulumi:"options"` // The source context. SourceContext *SourceContext `pulumi:"sourceContext"` // The source syntax. Syntax *string `pulumi:"syntax"` }
Enum type definition.
type EnumArgs ¶
type EnumArgs struct { // Enum value definitions. Enumvalue EnumValueArrayInput `pulumi:"enumvalue"` // Enum type name. Name pulumi.StringPtrInput `pulumi:"name"` // Protocol buffer options. Options OptionArrayInput `pulumi:"options"` // The source context. SourceContext SourceContextPtrInput `pulumi:"sourceContext"` // The source syntax. Syntax pulumi.StringPtrInput `pulumi:"syntax"` }
Enum type definition.
func (EnumArgs) ElementType ¶
func (EnumArgs) ToEnumOutput ¶
func (i EnumArgs) ToEnumOutput() EnumOutput
func (EnumArgs) ToEnumOutputWithContext ¶
func (i EnumArgs) ToEnumOutputWithContext(ctx context.Context) EnumOutput
type EnumArray ¶
type EnumArray []EnumInput
func (EnumArray) ElementType ¶
func (EnumArray) ToEnumArrayOutput ¶
func (i EnumArray) ToEnumArrayOutput() EnumArrayOutput
func (EnumArray) ToEnumArrayOutputWithContext ¶
func (i EnumArray) ToEnumArrayOutputWithContext(ctx context.Context) EnumArrayOutput
type EnumArrayInput ¶
type EnumArrayInput interface { pulumi.Input ToEnumArrayOutput() EnumArrayOutput ToEnumArrayOutputWithContext(context.Context) EnumArrayOutput }
EnumArrayInput is an input type that accepts EnumArray and EnumArrayOutput values. You can construct a concrete instance of `EnumArrayInput` via:
EnumArray{ EnumArgs{...} }
type EnumArrayOutput ¶
type EnumArrayOutput struct{ *pulumi.OutputState }
func (EnumArrayOutput) ElementType ¶
func (EnumArrayOutput) ElementType() reflect.Type
func (EnumArrayOutput) Index ¶
func (o EnumArrayOutput) Index(i pulumi.IntInput) EnumOutput
func (EnumArrayOutput) ToEnumArrayOutput ¶
func (o EnumArrayOutput) ToEnumArrayOutput() EnumArrayOutput
func (EnumArrayOutput) ToEnumArrayOutputWithContext ¶
func (o EnumArrayOutput) ToEnumArrayOutputWithContext(ctx context.Context) EnumArrayOutput
type EnumInput ¶
type EnumInput interface { pulumi.Input ToEnumOutput() EnumOutput ToEnumOutputWithContext(context.Context) EnumOutput }
EnumInput is an input type that accepts EnumArgs and EnumOutput values. You can construct a concrete instance of `EnumInput` via:
EnumArgs{...}
type EnumOutput ¶
type EnumOutput struct{ *pulumi.OutputState }
Enum type definition.
func (EnumOutput) ElementType ¶
func (EnumOutput) ElementType() reflect.Type
func (EnumOutput) Enumvalue ¶
func (o EnumOutput) Enumvalue() EnumValueArrayOutput
Enum value definitions.
func (EnumOutput) Options ¶
func (o EnumOutput) Options() OptionArrayOutput
Protocol buffer options.
func (EnumOutput) SourceContext ¶
func (o EnumOutput) SourceContext() SourceContextPtrOutput
The source context.
func (EnumOutput) ToEnumOutput ¶
func (o EnumOutput) ToEnumOutput() EnumOutput
func (EnumOutput) ToEnumOutputWithContext ¶
func (o EnumOutput) ToEnumOutputWithContext(ctx context.Context) EnumOutput
type EnumResponse ¶
type EnumResponse struct { // Enum value definitions. Enumvalue []EnumValueResponse `pulumi:"enumvalue"` // Enum type name. Name string `pulumi:"name"` // Protocol buffer options. Options []OptionResponse `pulumi:"options"` // The source context. SourceContext SourceContextResponse `pulumi:"sourceContext"` // The source syntax. Syntax string `pulumi:"syntax"` }
Enum type definition.
type EnumResponseArgs ¶
type EnumResponseArgs struct { // Enum value definitions. Enumvalue EnumValueResponseArrayInput `pulumi:"enumvalue"` // Enum type name. Name pulumi.StringInput `pulumi:"name"` // Protocol buffer options. Options OptionResponseArrayInput `pulumi:"options"` // The source context. SourceContext SourceContextResponseInput `pulumi:"sourceContext"` // The source syntax. Syntax pulumi.StringInput `pulumi:"syntax"` }
Enum type definition.
func (EnumResponseArgs) ElementType ¶
func (EnumResponseArgs) ElementType() reflect.Type
func (EnumResponseArgs) ToEnumResponseOutput ¶
func (i EnumResponseArgs) ToEnumResponseOutput() EnumResponseOutput
func (EnumResponseArgs) ToEnumResponseOutputWithContext ¶
func (i EnumResponseArgs) ToEnumResponseOutputWithContext(ctx context.Context) EnumResponseOutput
type EnumResponseArray ¶
type EnumResponseArray []EnumResponseInput
func (EnumResponseArray) ElementType ¶
func (EnumResponseArray) ElementType() reflect.Type
func (EnumResponseArray) ToEnumResponseArrayOutput ¶
func (i EnumResponseArray) ToEnumResponseArrayOutput() EnumResponseArrayOutput
func (EnumResponseArray) ToEnumResponseArrayOutputWithContext ¶
func (i EnumResponseArray) ToEnumResponseArrayOutputWithContext(ctx context.Context) EnumResponseArrayOutput
type EnumResponseArrayInput ¶
type EnumResponseArrayInput interface { pulumi.Input ToEnumResponseArrayOutput() EnumResponseArrayOutput ToEnumResponseArrayOutputWithContext(context.Context) EnumResponseArrayOutput }
EnumResponseArrayInput is an input type that accepts EnumResponseArray and EnumResponseArrayOutput values. You can construct a concrete instance of `EnumResponseArrayInput` via:
EnumResponseArray{ EnumResponseArgs{...} }
type EnumResponseArrayOutput ¶
type EnumResponseArrayOutput struct{ *pulumi.OutputState }
func (EnumResponseArrayOutput) ElementType ¶
func (EnumResponseArrayOutput) ElementType() reflect.Type
func (EnumResponseArrayOutput) Index ¶
func (o EnumResponseArrayOutput) Index(i pulumi.IntInput) EnumResponseOutput
func (EnumResponseArrayOutput) ToEnumResponseArrayOutput ¶
func (o EnumResponseArrayOutput) ToEnumResponseArrayOutput() EnumResponseArrayOutput
func (EnumResponseArrayOutput) ToEnumResponseArrayOutputWithContext ¶
func (o EnumResponseArrayOutput) ToEnumResponseArrayOutputWithContext(ctx context.Context) EnumResponseArrayOutput
type EnumResponseInput ¶
type EnumResponseInput interface { pulumi.Input ToEnumResponseOutput() EnumResponseOutput ToEnumResponseOutputWithContext(context.Context) EnumResponseOutput }
EnumResponseInput is an input type that accepts EnumResponseArgs and EnumResponseOutput values. You can construct a concrete instance of `EnumResponseInput` via:
EnumResponseArgs{...}
type EnumResponseOutput ¶
type EnumResponseOutput struct{ *pulumi.OutputState }
Enum type definition.
func (EnumResponseOutput) ElementType ¶
func (EnumResponseOutput) ElementType() reflect.Type
func (EnumResponseOutput) Enumvalue ¶
func (o EnumResponseOutput) Enumvalue() EnumValueResponseArrayOutput
Enum value definitions.
func (EnumResponseOutput) Name ¶
func (o EnumResponseOutput) Name() pulumi.StringOutput
Enum type name.
func (EnumResponseOutput) Options ¶
func (o EnumResponseOutput) Options() OptionResponseArrayOutput
Protocol buffer options.
func (EnumResponseOutput) SourceContext ¶
func (o EnumResponseOutput) SourceContext() SourceContextResponseOutput
The source context.
func (EnumResponseOutput) Syntax ¶
func (o EnumResponseOutput) Syntax() pulumi.StringOutput
The source syntax.
func (EnumResponseOutput) ToEnumResponseOutput ¶
func (o EnumResponseOutput) ToEnumResponseOutput() EnumResponseOutput
func (EnumResponseOutput) ToEnumResponseOutputWithContext ¶
func (o EnumResponseOutput) ToEnumResponseOutputWithContext(ctx context.Context) EnumResponseOutput
type EnumValue ¶
type EnumValue struct { // Enum value name. Name *string `pulumi:"name"` // Enum value number. Number *int `pulumi:"number"` // Protocol buffer options. Options []Option `pulumi:"options"` }
Enum value definition.
type EnumValueArgs ¶
type EnumValueArgs struct { // Enum value name. Name pulumi.StringPtrInput `pulumi:"name"` // Enum value number. Number pulumi.IntPtrInput `pulumi:"number"` // Protocol buffer options. Options OptionArrayInput `pulumi:"options"` }
Enum value definition.
func (EnumValueArgs) ElementType ¶
func (EnumValueArgs) ElementType() reflect.Type
func (EnumValueArgs) ToEnumValueOutput ¶
func (i EnumValueArgs) ToEnumValueOutput() EnumValueOutput
func (EnumValueArgs) ToEnumValueOutputWithContext ¶
func (i EnumValueArgs) ToEnumValueOutputWithContext(ctx context.Context) EnumValueOutput
type EnumValueArray ¶
type EnumValueArray []EnumValueInput
func (EnumValueArray) ElementType ¶
func (EnumValueArray) ElementType() reflect.Type
func (EnumValueArray) ToEnumValueArrayOutput ¶
func (i EnumValueArray) ToEnumValueArrayOutput() EnumValueArrayOutput
func (EnumValueArray) ToEnumValueArrayOutputWithContext ¶
func (i EnumValueArray) ToEnumValueArrayOutputWithContext(ctx context.Context) EnumValueArrayOutput
type EnumValueArrayInput ¶
type EnumValueArrayInput interface { pulumi.Input ToEnumValueArrayOutput() EnumValueArrayOutput ToEnumValueArrayOutputWithContext(context.Context) EnumValueArrayOutput }
EnumValueArrayInput is an input type that accepts EnumValueArray and EnumValueArrayOutput values. You can construct a concrete instance of `EnumValueArrayInput` via:
EnumValueArray{ EnumValueArgs{...} }
type EnumValueArrayOutput ¶
type EnumValueArrayOutput struct{ *pulumi.OutputState }
func (EnumValueArrayOutput) ElementType ¶
func (EnumValueArrayOutput) ElementType() reflect.Type
func (EnumValueArrayOutput) Index ¶
func (o EnumValueArrayOutput) Index(i pulumi.IntInput) EnumValueOutput
func (EnumValueArrayOutput) ToEnumValueArrayOutput ¶
func (o EnumValueArrayOutput) ToEnumValueArrayOutput() EnumValueArrayOutput
func (EnumValueArrayOutput) ToEnumValueArrayOutputWithContext ¶
func (o EnumValueArrayOutput) ToEnumValueArrayOutputWithContext(ctx context.Context) EnumValueArrayOutput
type EnumValueInput ¶
type EnumValueInput interface { pulumi.Input ToEnumValueOutput() EnumValueOutput ToEnumValueOutputWithContext(context.Context) EnumValueOutput }
EnumValueInput is an input type that accepts EnumValueArgs and EnumValueOutput values. You can construct a concrete instance of `EnumValueInput` via:
EnumValueArgs{...}
type EnumValueOutput ¶
type EnumValueOutput struct{ *pulumi.OutputState }
Enum value definition.
func (EnumValueOutput) ElementType ¶
func (EnumValueOutput) ElementType() reflect.Type
func (EnumValueOutput) Name ¶
func (o EnumValueOutput) Name() pulumi.StringPtrOutput
Enum value name.
func (EnumValueOutput) Number ¶
func (o EnumValueOutput) Number() pulumi.IntPtrOutput
Enum value number.
func (EnumValueOutput) Options ¶
func (o EnumValueOutput) Options() OptionArrayOutput
Protocol buffer options.
func (EnumValueOutput) ToEnumValueOutput ¶
func (o EnumValueOutput) ToEnumValueOutput() EnumValueOutput
func (EnumValueOutput) ToEnumValueOutputWithContext ¶
func (o EnumValueOutput) ToEnumValueOutputWithContext(ctx context.Context) EnumValueOutput
type EnumValueResponse ¶
type EnumValueResponse struct { // Enum value name. Name string `pulumi:"name"` // Enum value number. Number int `pulumi:"number"` // Protocol buffer options. Options []OptionResponse `pulumi:"options"` }
Enum value definition.
type EnumValueResponseArgs ¶
type EnumValueResponseArgs struct { // Enum value name. Name pulumi.StringInput `pulumi:"name"` // Enum value number. Number pulumi.IntInput `pulumi:"number"` // Protocol buffer options. Options OptionResponseArrayInput `pulumi:"options"` }
Enum value definition.
func (EnumValueResponseArgs) ElementType ¶
func (EnumValueResponseArgs) ElementType() reflect.Type
func (EnumValueResponseArgs) ToEnumValueResponseOutput ¶
func (i EnumValueResponseArgs) ToEnumValueResponseOutput() EnumValueResponseOutput
func (EnumValueResponseArgs) ToEnumValueResponseOutputWithContext ¶
func (i EnumValueResponseArgs) ToEnumValueResponseOutputWithContext(ctx context.Context) EnumValueResponseOutput
type EnumValueResponseArray ¶
type EnumValueResponseArray []EnumValueResponseInput
func (EnumValueResponseArray) ElementType ¶
func (EnumValueResponseArray) ElementType() reflect.Type
func (EnumValueResponseArray) ToEnumValueResponseArrayOutput ¶
func (i EnumValueResponseArray) ToEnumValueResponseArrayOutput() EnumValueResponseArrayOutput
func (EnumValueResponseArray) ToEnumValueResponseArrayOutputWithContext ¶
func (i EnumValueResponseArray) ToEnumValueResponseArrayOutputWithContext(ctx context.Context) EnumValueResponseArrayOutput
type EnumValueResponseArrayInput ¶
type EnumValueResponseArrayInput interface { pulumi.Input ToEnumValueResponseArrayOutput() EnumValueResponseArrayOutput ToEnumValueResponseArrayOutputWithContext(context.Context) EnumValueResponseArrayOutput }
EnumValueResponseArrayInput is an input type that accepts EnumValueResponseArray and EnumValueResponseArrayOutput values. You can construct a concrete instance of `EnumValueResponseArrayInput` via:
EnumValueResponseArray{ EnumValueResponseArgs{...} }
type EnumValueResponseArrayOutput ¶
type EnumValueResponseArrayOutput struct{ *pulumi.OutputState }
func (EnumValueResponseArrayOutput) ElementType ¶
func (EnumValueResponseArrayOutput) ElementType() reflect.Type
func (EnumValueResponseArrayOutput) Index ¶
func (o EnumValueResponseArrayOutput) Index(i pulumi.IntInput) EnumValueResponseOutput
func (EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutput ¶
func (o EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutput() EnumValueResponseArrayOutput
func (EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutputWithContext ¶
func (o EnumValueResponseArrayOutput) ToEnumValueResponseArrayOutputWithContext(ctx context.Context) EnumValueResponseArrayOutput
type EnumValueResponseInput ¶
type EnumValueResponseInput interface { pulumi.Input ToEnumValueResponseOutput() EnumValueResponseOutput ToEnumValueResponseOutputWithContext(context.Context) EnumValueResponseOutput }
EnumValueResponseInput is an input type that accepts EnumValueResponseArgs and EnumValueResponseOutput values. You can construct a concrete instance of `EnumValueResponseInput` via:
EnumValueResponseArgs{...}
type EnumValueResponseOutput ¶
type EnumValueResponseOutput struct{ *pulumi.OutputState }
Enum value definition.
func (EnumValueResponseOutput) ElementType ¶
func (EnumValueResponseOutput) ElementType() reflect.Type
func (EnumValueResponseOutput) Name ¶
func (o EnumValueResponseOutput) Name() pulumi.StringOutput
Enum value name.
func (EnumValueResponseOutput) Number ¶
func (o EnumValueResponseOutput) Number() pulumi.IntOutput
Enum value number.
func (EnumValueResponseOutput) Options ¶
func (o EnumValueResponseOutput) Options() OptionResponseArrayOutput
Protocol buffer options.
func (EnumValueResponseOutput) ToEnumValueResponseOutput ¶
func (o EnumValueResponseOutput) ToEnumValueResponseOutput() EnumValueResponseOutput
func (EnumValueResponseOutput) ToEnumValueResponseOutputWithContext ¶
func (o EnumValueResponseOutput) ToEnumValueResponseOutputWithContext(ctx context.Context) EnumValueResponseOutput
type Expr ¶
type Expr struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression *string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location *string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title *string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprArgs ¶
type ExprArgs struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringPtrInput `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location pulumi.StringPtrInput `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title pulumi.StringPtrInput `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprArgs) ElementType ¶
func (ExprArgs) ToExprOutput ¶
func (i ExprArgs) ToExprOutput() ExprOutput
func (ExprArgs) ToExprOutputWithContext ¶
func (i ExprArgs) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprArgs) ToExprPtrOutput ¶
func (i ExprArgs) ToExprPtrOutput() ExprPtrOutput
func (ExprArgs) ToExprPtrOutputWithContext ¶
func (i ExprArgs) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprInput ¶
type ExprInput interface { pulumi.Input ToExprOutput() ExprOutput ToExprOutputWithContext(context.Context) ExprOutput }
ExprInput is an input type that accepts ExprArgs and ExprOutput values. You can construct a concrete instance of `ExprInput` via:
ExprArgs{...}
type ExprOutput ¶
type ExprOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprOutput) Description ¶
func (o ExprOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprOutput) ElementType ¶
func (ExprOutput) ElementType() reflect.Type
func (ExprOutput) Expression ¶
func (o ExprOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprOutput) Location ¶
func (o ExprOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprOutput) Title ¶
func (o ExprOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprOutput) ToExprOutput ¶
func (o ExprOutput) ToExprOutput() ExprOutput
func (ExprOutput) ToExprOutputWithContext ¶
func (o ExprOutput) ToExprOutputWithContext(ctx context.Context) ExprOutput
func (ExprOutput) ToExprPtrOutput ¶
func (o ExprOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprOutput) ToExprPtrOutputWithContext ¶
func (o ExprOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprPtrInput ¶
type ExprPtrInput interface { pulumi.Input ToExprPtrOutput() ExprPtrOutput ToExprPtrOutputWithContext(context.Context) ExprPtrOutput }
ExprPtrInput is an input type that accepts ExprArgs, ExprPtr and ExprPtrOutput values. You can construct a concrete instance of `ExprPtrInput` via:
ExprArgs{...} or: nil
func ExprPtr ¶
func ExprPtr(v *ExprArgs) ExprPtrInput
type ExprPtrOutput ¶
type ExprPtrOutput struct{ *pulumi.OutputState }
func (ExprPtrOutput) Description ¶
func (o ExprPtrOutput) Description() pulumi.StringPtrOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprPtrOutput) Elem ¶
func (o ExprPtrOutput) Elem() ExprOutput
func (ExprPtrOutput) ElementType ¶
func (ExprPtrOutput) ElementType() reflect.Type
func (ExprPtrOutput) Expression ¶
func (o ExprPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprPtrOutput) Location ¶
func (o ExprPtrOutput) Location() pulumi.StringPtrOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprPtrOutput) Title ¶
func (o ExprPtrOutput) Title() pulumi.StringPtrOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprPtrOutput) ToExprPtrOutput ¶
func (o ExprPtrOutput) ToExprPtrOutput() ExprPtrOutput
func (ExprPtrOutput) ToExprPtrOutputWithContext ¶
func (o ExprPtrOutput) ToExprPtrOutputWithContext(ctx context.Context) ExprPtrOutput
type ExprResponse ¶
type ExprResponse struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location string `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title string `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
type ExprResponseArgs ¶
type ExprResponseArgs struct { // Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. Description pulumi.StringInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. Location pulumi.StringInput `pulumi:"location"` // Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. Title pulumi.StringInput `pulumi:"title"` }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseArgs) ElementType ¶
func (ExprResponseArgs) ElementType() reflect.Type
func (ExprResponseArgs) ToExprResponseOutput ¶
func (i ExprResponseArgs) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseArgs) ToExprResponseOutputWithContext ¶
func (i ExprResponseArgs) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type ExprResponseInput ¶
type ExprResponseInput interface { pulumi.Input ToExprResponseOutput() ExprResponseOutput ToExprResponseOutputWithContext(context.Context) ExprResponseOutput }
ExprResponseInput is an input type that accepts ExprResponseArgs and ExprResponseOutput values. You can construct a concrete instance of `ExprResponseInput` via:
ExprResponseArgs{...}
type ExprResponseOutput ¶
type ExprResponseOutput struct{ *pulumi.OutputState }
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (ExprResponseOutput) Description ¶
func (o ExprResponseOutput) Description() pulumi.StringOutput
Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
func (ExprResponseOutput) ElementType ¶
func (ExprResponseOutput) ElementType() reflect.Type
func (ExprResponseOutput) Expression ¶
func (o ExprResponseOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (ExprResponseOutput) Location ¶
func (o ExprResponseOutput) Location() pulumi.StringOutput
Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
func (ExprResponseOutput) Title ¶
func (o ExprResponseOutput) Title() pulumi.StringOutput
Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
func (ExprResponseOutput) ToExprResponseOutput ¶
func (o ExprResponseOutput) ToExprResponseOutput() ExprResponseOutput
func (ExprResponseOutput) ToExprResponseOutputWithContext ¶
func (o ExprResponseOutput) ToExprResponseOutputWithContext(ctx context.Context) ExprResponseOutput
type Field ¶
type Field struct { // The field cardinality. Cardinality *string `pulumi:"cardinality"` // The string value of the default value of this field. Proto2 syntax only. DefaultValue *string `pulumi:"defaultValue"` // The field JSON name. JsonName *string `pulumi:"jsonName"` // The field type. Kind *string `pulumi:"kind"` // The field name. Name *string `pulumi:"name"` // The field number. Number *int `pulumi:"number"` // The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list. OneofIndex *int `pulumi:"oneofIndex"` // The protocol buffer options. Options []Option `pulumi:"options"` // Whether to use alternative packed wire representation. Packed *bool `pulumi:"packed"` // The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. TypeUrl *string `pulumi:"typeUrl"` }
A single field of a message type.
type FieldArgs ¶
type FieldArgs struct { // The field cardinality. Cardinality pulumi.StringPtrInput `pulumi:"cardinality"` // The string value of the default value of this field. Proto2 syntax only. DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"` // The field JSON name. JsonName pulumi.StringPtrInput `pulumi:"jsonName"` // The field type. Kind pulumi.StringPtrInput `pulumi:"kind"` // The field name. Name pulumi.StringPtrInput `pulumi:"name"` // The field number. Number pulumi.IntPtrInput `pulumi:"number"` // The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list. OneofIndex pulumi.IntPtrInput `pulumi:"oneofIndex"` // The protocol buffer options. Options OptionArrayInput `pulumi:"options"` // Whether to use alternative packed wire representation. Packed pulumi.BoolPtrInput `pulumi:"packed"` // The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. TypeUrl pulumi.StringPtrInput `pulumi:"typeUrl"` }
A single field of a message type.
func (FieldArgs) ElementType ¶
func (FieldArgs) ToFieldOutput ¶
func (i FieldArgs) ToFieldOutput() FieldOutput
func (FieldArgs) ToFieldOutputWithContext ¶
func (i FieldArgs) ToFieldOutputWithContext(ctx context.Context) FieldOutput
type FieldArray ¶
type FieldArray []FieldInput
func (FieldArray) ElementType ¶
func (FieldArray) ElementType() reflect.Type
func (FieldArray) ToFieldArrayOutput ¶
func (i FieldArray) ToFieldArrayOutput() FieldArrayOutput
func (FieldArray) ToFieldArrayOutputWithContext ¶
func (i FieldArray) ToFieldArrayOutputWithContext(ctx context.Context) FieldArrayOutput
type FieldArrayInput ¶
type FieldArrayInput interface { pulumi.Input ToFieldArrayOutput() FieldArrayOutput ToFieldArrayOutputWithContext(context.Context) FieldArrayOutput }
FieldArrayInput is an input type that accepts FieldArray and FieldArrayOutput values. You can construct a concrete instance of `FieldArrayInput` via:
FieldArray{ FieldArgs{...} }
type FieldArrayOutput ¶
type FieldArrayOutput struct{ *pulumi.OutputState }
func (FieldArrayOutput) ElementType ¶
func (FieldArrayOutput) ElementType() reflect.Type
func (FieldArrayOutput) Index ¶
func (o FieldArrayOutput) Index(i pulumi.IntInput) FieldOutput
func (FieldArrayOutput) ToFieldArrayOutput ¶
func (o FieldArrayOutput) ToFieldArrayOutput() FieldArrayOutput
func (FieldArrayOutput) ToFieldArrayOutputWithContext ¶
func (o FieldArrayOutput) ToFieldArrayOutputWithContext(ctx context.Context) FieldArrayOutput
type FieldInput ¶
type FieldInput interface { pulumi.Input ToFieldOutput() FieldOutput ToFieldOutputWithContext(context.Context) FieldOutput }
FieldInput is an input type that accepts FieldArgs and FieldOutput values. You can construct a concrete instance of `FieldInput` via:
FieldArgs{...}
type FieldOutput ¶
type FieldOutput struct{ *pulumi.OutputState }
A single field of a message type.
func (FieldOutput) Cardinality ¶
func (o FieldOutput) Cardinality() pulumi.StringPtrOutput
The field cardinality.
func (FieldOutput) DefaultValue ¶
func (o FieldOutput) DefaultValue() pulumi.StringPtrOutput
The string value of the default value of this field. Proto2 syntax only.
func (FieldOutput) ElementType ¶
func (FieldOutput) ElementType() reflect.Type
func (FieldOutput) JsonName ¶
func (o FieldOutput) JsonName() pulumi.StringPtrOutput
The field JSON name.
func (FieldOutput) OneofIndex ¶
func (o FieldOutput) OneofIndex() pulumi.IntPtrOutput
The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
func (FieldOutput) Options ¶
func (o FieldOutput) Options() OptionArrayOutput
The protocol buffer options.
func (FieldOutput) Packed ¶
func (o FieldOutput) Packed() pulumi.BoolPtrOutput
Whether to use alternative packed wire representation.
func (FieldOutput) ToFieldOutput ¶
func (o FieldOutput) ToFieldOutput() FieldOutput
func (FieldOutput) ToFieldOutputWithContext ¶
func (o FieldOutput) ToFieldOutputWithContext(ctx context.Context) FieldOutput
func (FieldOutput) TypeUrl ¶
func (o FieldOutput) TypeUrl() pulumi.StringPtrOutput
The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
type FieldResponse ¶
type FieldResponse struct { // The field cardinality. Cardinality string `pulumi:"cardinality"` // The string value of the default value of this field. Proto2 syntax only. DefaultValue string `pulumi:"defaultValue"` // The field JSON name. JsonName string `pulumi:"jsonName"` // The field type. Kind string `pulumi:"kind"` // The field name. Name string `pulumi:"name"` // The field number. Number int `pulumi:"number"` // The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list. OneofIndex int `pulumi:"oneofIndex"` // The protocol buffer options. Options []OptionResponse `pulumi:"options"` // Whether to use alternative packed wire representation. Packed bool `pulumi:"packed"` // The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. TypeUrl string `pulumi:"typeUrl"` }
A single field of a message type.
type FieldResponseArgs ¶
type FieldResponseArgs struct { // The field cardinality. Cardinality pulumi.StringInput `pulumi:"cardinality"` // The string value of the default value of this field. Proto2 syntax only. DefaultValue pulumi.StringInput `pulumi:"defaultValue"` // The field JSON name. JsonName pulumi.StringInput `pulumi:"jsonName"` // The field type. Kind pulumi.StringInput `pulumi:"kind"` // The field name. Name pulumi.StringInput `pulumi:"name"` // The field number. Number pulumi.IntInput `pulumi:"number"` // The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list. OneofIndex pulumi.IntInput `pulumi:"oneofIndex"` // The protocol buffer options. Options OptionResponseArrayInput `pulumi:"options"` // Whether to use alternative packed wire representation. Packed pulumi.BoolInput `pulumi:"packed"` // The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. TypeUrl pulumi.StringInput `pulumi:"typeUrl"` }
A single field of a message type.
func (FieldResponseArgs) ElementType ¶
func (FieldResponseArgs) ElementType() reflect.Type
func (FieldResponseArgs) ToFieldResponseOutput ¶
func (i FieldResponseArgs) ToFieldResponseOutput() FieldResponseOutput
func (FieldResponseArgs) ToFieldResponseOutputWithContext ¶
func (i FieldResponseArgs) ToFieldResponseOutputWithContext(ctx context.Context) FieldResponseOutput
type FieldResponseArray ¶
type FieldResponseArray []FieldResponseInput
func (FieldResponseArray) ElementType ¶
func (FieldResponseArray) ElementType() reflect.Type
func (FieldResponseArray) ToFieldResponseArrayOutput ¶
func (i FieldResponseArray) ToFieldResponseArrayOutput() FieldResponseArrayOutput
func (FieldResponseArray) ToFieldResponseArrayOutputWithContext ¶
func (i FieldResponseArray) ToFieldResponseArrayOutputWithContext(ctx context.Context) FieldResponseArrayOutput
type FieldResponseArrayInput ¶
type FieldResponseArrayInput interface { pulumi.Input ToFieldResponseArrayOutput() FieldResponseArrayOutput ToFieldResponseArrayOutputWithContext(context.Context) FieldResponseArrayOutput }
FieldResponseArrayInput is an input type that accepts FieldResponseArray and FieldResponseArrayOutput values. You can construct a concrete instance of `FieldResponseArrayInput` via:
FieldResponseArray{ FieldResponseArgs{...} }
type FieldResponseArrayOutput ¶
type FieldResponseArrayOutput struct{ *pulumi.OutputState }
func (FieldResponseArrayOutput) ElementType ¶
func (FieldResponseArrayOutput) ElementType() reflect.Type
func (FieldResponseArrayOutput) Index ¶
func (o FieldResponseArrayOutput) Index(i pulumi.IntInput) FieldResponseOutput
func (FieldResponseArrayOutput) ToFieldResponseArrayOutput ¶
func (o FieldResponseArrayOutput) ToFieldResponseArrayOutput() FieldResponseArrayOutput
func (FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext ¶
func (o FieldResponseArrayOutput) ToFieldResponseArrayOutputWithContext(ctx context.Context) FieldResponseArrayOutput
type FieldResponseInput ¶
type FieldResponseInput interface { pulumi.Input ToFieldResponseOutput() FieldResponseOutput ToFieldResponseOutputWithContext(context.Context) FieldResponseOutput }
FieldResponseInput is an input type that accepts FieldResponseArgs and FieldResponseOutput values. You can construct a concrete instance of `FieldResponseInput` via:
FieldResponseArgs{...}
type FieldResponseOutput ¶
type FieldResponseOutput struct{ *pulumi.OutputState }
A single field of a message type.
func (FieldResponseOutput) Cardinality ¶
func (o FieldResponseOutput) Cardinality() pulumi.StringOutput
The field cardinality.
func (FieldResponseOutput) DefaultValue ¶
func (o FieldResponseOutput) DefaultValue() pulumi.StringOutput
The string value of the default value of this field. Proto2 syntax only.
func (FieldResponseOutput) ElementType ¶
func (FieldResponseOutput) ElementType() reflect.Type
func (FieldResponseOutput) JsonName ¶
func (o FieldResponseOutput) JsonName() pulumi.StringOutput
The field JSON name.
func (FieldResponseOutput) Kind ¶
func (o FieldResponseOutput) Kind() pulumi.StringOutput
The field type.
func (FieldResponseOutput) Name ¶
func (o FieldResponseOutput) Name() pulumi.StringOutput
The field name.
func (FieldResponseOutput) Number ¶
func (o FieldResponseOutput) Number() pulumi.IntOutput
The field number.
func (FieldResponseOutput) OneofIndex ¶
func (o FieldResponseOutput) OneofIndex() pulumi.IntOutput
The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.
func (FieldResponseOutput) Options ¶
func (o FieldResponseOutput) Options() OptionResponseArrayOutput
The protocol buffer options.
func (FieldResponseOutput) Packed ¶
func (o FieldResponseOutput) Packed() pulumi.BoolOutput
Whether to use alternative packed wire representation.
func (FieldResponseOutput) ToFieldResponseOutput ¶
func (o FieldResponseOutput) ToFieldResponseOutput() FieldResponseOutput
func (FieldResponseOutput) ToFieldResponseOutputWithContext ¶
func (o FieldResponseOutput) ToFieldResponseOutputWithContext(ctx context.Context) FieldResponseOutput
func (FieldResponseOutput) TypeUrl ¶
func (o FieldResponseOutput) TypeUrl() pulumi.StringOutput
The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
type Http ¶
type Http struct { // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. FullyDecodeReservedExpansion *bool `pulumi:"fullyDecodeReservedExpansion"` // A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []HttpRule `pulumi:"rules"` }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
type HttpArgs ¶
type HttpArgs struct { // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. FullyDecodeReservedExpansion pulumi.BoolPtrInput `pulumi:"fullyDecodeReservedExpansion"` // A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules HttpRuleArrayInput `pulumi:"rules"` }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
func (HttpArgs) ElementType ¶
func (HttpArgs) ToHttpOutput ¶
func (i HttpArgs) ToHttpOutput() HttpOutput
func (HttpArgs) ToHttpOutputWithContext ¶
func (i HttpArgs) ToHttpOutputWithContext(ctx context.Context) HttpOutput
func (HttpArgs) ToHttpPtrOutput ¶
func (i HttpArgs) ToHttpPtrOutput() HttpPtrOutput
func (HttpArgs) ToHttpPtrOutputWithContext ¶
func (i HttpArgs) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutput
type HttpInput ¶
type HttpInput interface { pulumi.Input ToHttpOutput() HttpOutput ToHttpOutputWithContext(context.Context) HttpOutput }
HttpInput is an input type that accepts HttpArgs and HttpOutput values. You can construct a concrete instance of `HttpInput` via:
HttpArgs{...}
type HttpOutput ¶
type HttpOutput struct{ *pulumi.OutputState }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
func (HttpOutput) ElementType ¶
func (HttpOutput) ElementType() reflect.Type
func (HttpOutput) FullyDecodeReservedExpansion ¶
func (o HttpOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
func (HttpOutput) Rules ¶
func (o HttpOutput) Rules() HttpRuleArrayOutput
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (HttpOutput) ToHttpOutput ¶
func (o HttpOutput) ToHttpOutput() HttpOutput
func (HttpOutput) ToHttpOutputWithContext ¶
func (o HttpOutput) ToHttpOutputWithContext(ctx context.Context) HttpOutput
func (HttpOutput) ToHttpPtrOutput ¶
func (o HttpOutput) ToHttpPtrOutput() HttpPtrOutput
func (HttpOutput) ToHttpPtrOutputWithContext ¶
func (o HttpOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutput
type HttpPtrInput ¶
type HttpPtrInput interface { pulumi.Input ToHttpPtrOutput() HttpPtrOutput ToHttpPtrOutputWithContext(context.Context) HttpPtrOutput }
HttpPtrInput is an input type that accepts HttpArgs, HttpPtr and HttpPtrOutput values. You can construct a concrete instance of `HttpPtrInput` via:
HttpArgs{...} or: nil
func HttpPtr ¶
func HttpPtr(v *HttpArgs) HttpPtrInput
type HttpPtrOutput ¶
type HttpPtrOutput struct{ *pulumi.OutputState }
func (HttpPtrOutput) Elem ¶
func (o HttpPtrOutput) Elem() HttpOutput
func (HttpPtrOutput) ElementType ¶
func (HttpPtrOutput) ElementType() reflect.Type
func (HttpPtrOutput) FullyDecodeReservedExpansion ¶
func (o HttpPtrOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
func (HttpPtrOutput) Rules ¶
func (o HttpPtrOutput) Rules() HttpRuleArrayOutput
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (HttpPtrOutput) ToHttpPtrOutput ¶
func (o HttpPtrOutput) ToHttpPtrOutput() HttpPtrOutput
func (HttpPtrOutput) ToHttpPtrOutputWithContext ¶
func (o HttpPtrOutput) ToHttpPtrOutputWithContext(ctx context.Context) HttpPtrOutput
type HttpResponse ¶
type HttpResponse struct { // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. FullyDecodeReservedExpansion bool `pulumi:"fullyDecodeReservedExpansion"` // A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []HttpRuleResponse `pulumi:"rules"` }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
type HttpResponseArgs ¶
type HttpResponseArgs struct { // When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches. FullyDecodeReservedExpansion pulumi.BoolInput `pulumi:"fullyDecodeReservedExpansion"` // A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules HttpRuleResponseArrayInput `pulumi:"rules"` }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
func (HttpResponseArgs) ElementType ¶
func (HttpResponseArgs) ElementType() reflect.Type
func (HttpResponseArgs) ToHttpResponseOutput ¶
func (i HttpResponseArgs) ToHttpResponseOutput() HttpResponseOutput
func (HttpResponseArgs) ToHttpResponseOutputWithContext ¶
func (i HttpResponseArgs) ToHttpResponseOutputWithContext(ctx context.Context) HttpResponseOutput
func (HttpResponseArgs) ToHttpResponsePtrOutput ¶
func (i HttpResponseArgs) ToHttpResponsePtrOutput() HttpResponsePtrOutput
func (HttpResponseArgs) ToHttpResponsePtrOutputWithContext ¶
func (i HttpResponseArgs) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
type HttpResponseInput ¶
type HttpResponseInput interface { pulumi.Input ToHttpResponseOutput() HttpResponseOutput ToHttpResponseOutputWithContext(context.Context) HttpResponseOutput }
HttpResponseInput is an input type that accepts HttpResponseArgs and HttpResponseOutput values. You can construct a concrete instance of `HttpResponseInput` via:
HttpResponseArgs{...}
type HttpResponseOutput ¶
type HttpResponseOutput struct{ *pulumi.OutputState }
Defines the HTTP configuration for an API service. It contains a list of HttpRule, each specifying the mapping of an RPC method to one or more HTTP REST API methods.
func (HttpResponseOutput) ElementType ¶
func (HttpResponseOutput) ElementType() reflect.Type
func (HttpResponseOutput) FullyDecodeReservedExpansion ¶
func (o HttpResponseOutput) FullyDecodeReservedExpansion() pulumi.BoolOutput
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
func (HttpResponseOutput) Rules ¶
func (o HttpResponseOutput) Rules() HttpRuleResponseArrayOutput
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (HttpResponseOutput) ToHttpResponseOutput ¶
func (o HttpResponseOutput) ToHttpResponseOutput() HttpResponseOutput
func (HttpResponseOutput) ToHttpResponseOutputWithContext ¶
func (o HttpResponseOutput) ToHttpResponseOutputWithContext(ctx context.Context) HttpResponseOutput
func (HttpResponseOutput) ToHttpResponsePtrOutput ¶
func (o HttpResponseOutput) ToHttpResponsePtrOutput() HttpResponsePtrOutput
func (HttpResponseOutput) ToHttpResponsePtrOutputWithContext ¶
func (o HttpResponseOutput) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
type HttpResponsePtrInput ¶
type HttpResponsePtrInput interface { pulumi.Input ToHttpResponsePtrOutput() HttpResponsePtrOutput ToHttpResponsePtrOutputWithContext(context.Context) HttpResponsePtrOutput }
HttpResponsePtrInput is an input type that accepts HttpResponseArgs, HttpResponsePtr and HttpResponsePtrOutput values. You can construct a concrete instance of `HttpResponsePtrInput` via:
HttpResponseArgs{...} or: nil
func HttpResponsePtr ¶
func HttpResponsePtr(v *HttpResponseArgs) HttpResponsePtrInput
type HttpResponsePtrOutput ¶
type HttpResponsePtrOutput struct{ *pulumi.OutputState }
func (HttpResponsePtrOutput) Elem ¶
func (o HttpResponsePtrOutput) Elem() HttpResponseOutput
func (HttpResponsePtrOutput) ElementType ¶
func (HttpResponsePtrOutput) ElementType() reflect.Type
func (HttpResponsePtrOutput) FullyDecodeReservedExpansion ¶
func (o HttpResponsePtrOutput) FullyDecodeReservedExpansion() pulumi.BoolPtrOutput
When set to true, URL path parameters will be fully URI-decoded except in cases of single segment matches in reserved expansion, where "%2F" will be left encoded. The default behavior is to not decode RFC 6570 reserved characters in multi segment matches.
func (HttpResponsePtrOutput) Rules ¶
func (o HttpResponsePtrOutput) Rules() HttpRuleResponseArrayOutput
A list of HTTP configuration rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (HttpResponsePtrOutput) ToHttpResponsePtrOutput ¶
func (o HttpResponsePtrOutput) ToHttpResponsePtrOutput() HttpResponsePtrOutput
func (HttpResponsePtrOutput) ToHttpResponsePtrOutputWithContext ¶
func (o HttpResponsePtrOutput) ToHttpResponsePtrOutputWithContext(ctx context.Context) HttpResponsePtrOutput
type HttpRule ¶
type HttpRule struct { // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). AdditionalBindings []HttpRule `pulumi:"additionalBindings"` // The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. Body *string `pulumi:"body"` // The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients. Custom *CustomHttpPattern `pulumi:"custom"` // Maps to HTTP DELETE. Used for deleting a resource. Delete *string `pulumi:"delete"` // Maps to HTTP GET. Used for listing and getting information about resources. Get *string `pulumi:"get"` // Maps to HTTP PATCH. Used for updating a resource. Patch *string `pulumi:"patch"` // Maps to HTTP POST. Used for creating a resource or performing an action. Post *string `pulumi:"post"` // Maps to HTTP PUT. Used for replacing a resource. Put *string `pulumi:"put"` // Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type. ResponseBody *string `pulumi:"responseBody"` // Selects a method to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
type HttpRuleArgs ¶
type HttpRuleArgs struct { // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). AdditionalBindings HttpRuleArrayInput `pulumi:"additionalBindings"` // The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. Body pulumi.StringPtrInput `pulumi:"body"` // The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients. Custom CustomHttpPatternPtrInput `pulumi:"custom"` // Maps to HTTP DELETE. Used for deleting a resource. Delete pulumi.StringPtrInput `pulumi:"delete"` // Maps to HTTP GET. Used for listing and getting information about resources. Get pulumi.StringPtrInput `pulumi:"get"` // Maps to HTTP PATCH. Used for updating a resource. Patch pulumi.StringPtrInput `pulumi:"patch"` // Maps to HTTP POST. Used for creating a resource or performing an action. Post pulumi.StringPtrInput `pulumi:"post"` // Maps to HTTP PUT. Used for replacing a resource. Put pulumi.StringPtrInput `pulumi:"put"` // Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type. ResponseBody pulumi.StringPtrInput `pulumi:"responseBody"` // Selects a method to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
func (HttpRuleArgs) ElementType ¶
func (HttpRuleArgs) ElementType() reflect.Type
func (HttpRuleArgs) ToHttpRuleOutput ¶
func (i HttpRuleArgs) ToHttpRuleOutput() HttpRuleOutput
func (HttpRuleArgs) ToHttpRuleOutputWithContext ¶
func (i HttpRuleArgs) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
type HttpRuleArray ¶
type HttpRuleArray []HttpRuleInput
func (HttpRuleArray) ElementType ¶
func (HttpRuleArray) ElementType() reflect.Type
func (HttpRuleArray) ToHttpRuleArrayOutput ¶
func (i HttpRuleArray) ToHttpRuleArrayOutput() HttpRuleArrayOutput
func (HttpRuleArray) ToHttpRuleArrayOutputWithContext ¶
func (i HttpRuleArray) ToHttpRuleArrayOutputWithContext(ctx context.Context) HttpRuleArrayOutput
type HttpRuleArrayInput ¶
type HttpRuleArrayInput interface { pulumi.Input ToHttpRuleArrayOutput() HttpRuleArrayOutput ToHttpRuleArrayOutputWithContext(context.Context) HttpRuleArrayOutput }
HttpRuleArrayInput is an input type that accepts HttpRuleArray and HttpRuleArrayOutput values. You can construct a concrete instance of `HttpRuleArrayInput` via:
HttpRuleArray{ HttpRuleArgs{...} }
type HttpRuleArrayOutput ¶
type HttpRuleArrayOutput struct{ *pulumi.OutputState }
func (HttpRuleArrayOutput) ElementType ¶
func (HttpRuleArrayOutput) ElementType() reflect.Type
func (HttpRuleArrayOutput) Index ¶
func (o HttpRuleArrayOutput) Index(i pulumi.IntInput) HttpRuleOutput
func (HttpRuleArrayOutput) ToHttpRuleArrayOutput ¶
func (o HttpRuleArrayOutput) ToHttpRuleArrayOutput() HttpRuleArrayOutput
func (HttpRuleArrayOutput) ToHttpRuleArrayOutputWithContext ¶
func (o HttpRuleArrayOutput) ToHttpRuleArrayOutputWithContext(ctx context.Context) HttpRuleArrayOutput
type HttpRuleInput ¶
type HttpRuleInput interface { pulumi.Input ToHttpRuleOutput() HttpRuleOutput ToHttpRuleOutputWithContext(context.Context) HttpRuleOutput }
HttpRuleInput is an input type that accepts HttpRuleArgs and HttpRuleOutput values. You can construct a concrete instance of `HttpRuleInput` via:
HttpRuleArgs{...}
type HttpRuleOutput ¶
type HttpRuleOutput struct{ *pulumi.OutputState }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
func (HttpRuleOutput) AdditionalBindings ¶
func (o HttpRuleOutput) AdditionalBindings() HttpRuleArrayOutput
Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).
func (HttpRuleOutput) Body ¶
func (o HttpRuleOutput) Body() pulumi.StringPtrOutput
The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.
func (HttpRuleOutput) Custom ¶
func (o HttpRuleOutput) Custom() CustomHttpPatternPtrOutput
The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients.
func (HttpRuleOutput) Delete ¶
func (o HttpRuleOutput) Delete() pulumi.StringPtrOutput
Maps to HTTP DELETE. Used for deleting a resource.
func (HttpRuleOutput) ElementType ¶
func (HttpRuleOutput) ElementType() reflect.Type
func (HttpRuleOutput) Get ¶
func (o HttpRuleOutput) Get() pulumi.StringPtrOutput
Maps to HTTP GET. Used for listing and getting information about resources.
func (HttpRuleOutput) Patch ¶
func (o HttpRuleOutput) Patch() pulumi.StringPtrOutput
Maps to HTTP PATCH. Used for updating a resource.
func (HttpRuleOutput) Post ¶
func (o HttpRuleOutput) Post() pulumi.StringPtrOutput
Maps to HTTP POST. Used for creating a resource or performing an action.
func (HttpRuleOutput) Put ¶
func (o HttpRuleOutput) Put() pulumi.StringPtrOutput
Maps to HTTP PUT. Used for replacing a resource.
func (HttpRuleOutput) ResponseBody ¶
func (o HttpRuleOutput) ResponseBody() pulumi.StringPtrOutput
Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.
func (HttpRuleOutput) Selector ¶
func (o HttpRuleOutput) Selector() pulumi.StringPtrOutput
Selects a method to which this rule applies. Refer to selector for syntax details.
func (HttpRuleOutput) ToHttpRuleOutput ¶
func (o HttpRuleOutput) ToHttpRuleOutput() HttpRuleOutput
func (HttpRuleOutput) ToHttpRuleOutputWithContext ¶
func (o HttpRuleOutput) ToHttpRuleOutputWithContext(ctx context.Context) HttpRuleOutput
type HttpRuleResponse ¶
type HttpRuleResponse struct { // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). AdditionalBindings []HttpRuleResponse `pulumi:"additionalBindings"` // The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. Body string `pulumi:"body"` // The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients. Custom CustomHttpPatternResponse `pulumi:"custom"` // Maps to HTTP DELETE. Used for deleting a resource. Delete string `pulumi:"delete"` // Maps to HTTP GET. Used for listing and getting information about resources. Get string `pulumi:"get"` // Maps to HTTP PATCH. Used for updating a resource. Patch string `pulumi:"patch"` // Maps to HTTP POST. Used for creating a resource or performing an action. Post string `pulumi:"post"` // Maps to HTTP PUT. Used for replacing a resource. Put string `pulumi:"put"` // Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type. ResponseBody string `pulumi:"responseBody"` // Selects a method to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
type HttpRuleResponseArgs ¶
type HttpRuleResponseArgs struct { // Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep). AdditionalBindings HttpRuleResponseArrayInput `pulumi:"additionalBindings"` // The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type. Body pulumi.StringInput `pulumi:"body"` // The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients. Custom CustomHttpPatternResponseInput `pulumi:"custom"` // Maps to HTTP DELETE. Used for deleting a resource. Delete pulumi.StringInput `pulumi:"delete"` // Maps to HTTP GET. Used for listing and getting information about resources. Get pulumi.StringInput `pulumi:"get"` // Maps to HTTP PATCH. Used for updating a resource. Patch pulumi.StringInput `pulumi:"patch"` // Maps to HTTP POST. Used for creating a resource or performing an action. Post pulumi.StringInput `pulumi:"post"` // Maps to HTTP PUT. Used for replacing a resource. Put pulumi.StringInput `pulumi:"put"` // Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type. ResponseBody pulumi.StringInput `pulumi:"responseBody"` // Selects a method to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
func (HttpRuleResponseArgs) ElementType ¶
func (HttpRuleResponseArgs) ElementType() reflect.Type
func (HttpRuleResponseArgs) ToHttpRuleResponseOutput ¶
func (i HttpRuleResponseArgs) ToHttpRuleResponseOutput() HttpRuleResponseOutput
func (HttpRuleResponseArgs) ToHttpRuleResponseOutputWithContext ¶
func (i HttpRuleResponseArgs) ToHttpRuleResponseOutputWithContext(ctx context.Context) HttpRuleResponseOutput
type HttpRuleResponseArray ¶
type HttpRuleResponseArray []HttpRuleResponseInput
func (HttpRuleResponseArray) ElementType ¶
func (HttpRuleResponseArray) ElementType() reflect.Type
func (HttpRuleResponseArray) ToHttpRuleResponseArrayOutput ¶
func (i HttpRuleResponseArray) ToHttpRuleResponseArrayOutput() HttpRuleResponseArrayOutput
func (HttpRuleResponseArray) ToHttpRuleResponseArrayOutputWithContext ¶
func (i HttpRuleResponseArray) ToHttpRuleResponseArrayOutputWithContext(ctx context.Context) HttpRuleResponseArrayOutput
type HttpRuleResponseArrayInput ¶
type HttpRuleResponseArrayInput interface { pulumi.Input ToHttpRuleResponseArrayOutput() HttpRuleResponseArrayOutput ToHttpRuleResponseArrayOutputWithContext(context.Context) HttpRuleResponseArrayOutput }
HttpRuleResponseArrayInput is an input type that accepts HttpRuleResponseArray and HttpRuleResponseArrayOutput values. You can construct a concrete instance of `HttpRuleResponseArrayInput` via:
HttpRuleResponseArray{ HttpRuleResponseArgs{...} }
type HttpRuleResponseArrayOutput ¶
type HttpRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (HttpRuleResponseArrayOutput) ElementType ¶
func (HttpRuleResponseArrayOutput) ElementType() reflect.Type
func (HttpRuleResponseArrayOutput) Index ¶
func (o HttpRuleResponseArrayOutput) Index(i pulumi.IntInput) HttpRuleResponseOutput
func (HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutput ¶
func (o HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutput() HttpRuleResponseArrayOutput
func (HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutputWithContext ¶
func (o HttpRuleResponseArrayOutput) ToHttpRuleResponseArrayOutputWithContext(ctx context.Context) HttpRuleResponseArrayOutput
type HttpRuleResponseInput ¶
type HttpRuleResponseInput interface { pulumi.Input ToHttpRuleResponseOutput() HttpRuleResponseOutput ToHttpRuleResponseOutputWithContext(context.Context) HttpRuleResponseOutput }
HttpRuleResponseInput is an input type that accepts HttpRuleResponseArgs and HttpRuleResponseOutput values. You can construct a concrete instance of `HttpRuleResponseInput` via:
HttpRuleResponseArgs{...}
type HttpRuleResponseOutput ¶
type HttpRuleResponseOutput struct{ *pulumi.OutputState }
gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature. RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature." aria-label="Go to gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC method and one or more HTTP REST endpoints. It allows developers to build a single API service that supports both gRPC APIs and REST APIs. Many systems, including [Google APIs](https://github.com/googleapis/googleapis), [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature and use it for large scale production services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies how different portions of the gRPC request message are mapped to the URL path, URL query parameters, and HTTP request body. It also controls how the gRPC response message is mapped to the HTTP response body. `HttpRule` is typically specified as an `google.api.http` annotation on the gRPC method. Each mapping specifies a URL path template and an HTTP method. The path template may refer to one or more fields in the gRPC request message, as long as each field is a non-repeated field with a primitive (non-message) type. The path template controls how fields of the request message are mapped to the URL path. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/{name=messages/*}" }; } } message GetMessageRequest { string name = 1; // Mapped to URL path. } message Message { string text = 1; // The resource content. } This enables an HTTP REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` Any fields in the request message which are not bound by the path template automatically become HTTP query parameters if there is no HTTP request body. For example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get:"/v1/messages/{message_id}" }; } } message GetMessageRequest { message SubMessage { string subfield = 1; } string message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL query parameter `revision`. SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. } This enables a HTTP JSON to RPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))` Note that fields which are mapped to URL query parameters must have a primitive type or a repeated primitive type or a non-repeated message type. In the case of a repeated type, the parameter can be repeated in the URL as `...?param=A¶m=B`. In the case of a message type, each field of the message is mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For HTTP methods that allow a request body, the `body` field specifies the mapping. Consider a REST update method on the message resource collection: service Messaging { rpc UpdateMessage(UpdateMessageRequest) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "message" }; } } message UpdateMessageRequest { string message_id = 1; // mapped to the URL Message message = 2; // mapped to the body } The following HTTP JSON to RPC mapping is enabled, where the representation of the JSON in the request body is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" message { text: "Hi!" })` The special name `*` can be used in the body mapping to define that every field not bound by the path template should be mapped to the request body. This enables the following alternative definition of the update method: service Messaging { rpc UpdateMessage(Message) returns (Message) { option (google.api.http) = { patch: "/v1/messages/{message_id}" body: "*" }; } } message Message { string message_id = 1; string text = 2; } The following HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: "123456" text: "Hi!")` Note that when using `*` in the body mapping, it is not possible to have HTTP parameters, as all fields not bound by the path end in the body. This makes this option more rarely used in practice when defining REST APIs. The common usage of `*` is in custom methods which don't use the URL at all for transferring data. It is possible to define multiple HTTP methods for one RPC by using the `additional_bindings` option. Example: service Messaging { rpc GetMessage(GetMessageRequest) returns (Message) { option (google.api.http) = { get: "/v1/messages/{message_id}" additional_bindings { get: "/v1/users/{user_id}/messages/{message_id}" } }; } } message GetMessageRequest { string message_id = 1; string user_id = 2; } This enables the following two alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules for HTTP mapping 1. Leaf request fields (recursive expansion nested messages in the request message) are classified into three categories: - Fields referred by the path template. They are passed via the URL path. - Fields referred by the HttpRule.body. They are passed via the HTTP request body. - All other fields are passed via the URL query parameters, and the parameter name is the field path in the request message. A repeated field can be represented as multiple query parameters under the same name. 2. If HttpRule.body is "*", there is no URL query parameter, all fields are passed via URL path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP request body, all fields are passed via URL path and URL query parameters. ### Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment { "/" Segment } ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "{" FieldPath [ "=" Segments ] "}" ; FieldPath = IDENT { "." IDENT } ; Verb = ":" LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**` matches zero or more URL path segments, which must be the last part of the URL path except the `Verb`. The syntax `Variable` matches part of the URL path as specified by its template. A variable template must not contain other variables. If a variable matches a single path segment, its template may be omitted, e.g. `{var}` is equivalent to `{var=*}`. The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` contains any reserved character, such characters should be percent-encoded before the matching. If a variable contains exactly one path segment, such as `"{var}"` or `"{var=*}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{var}`. If a variable contains multiple path segments, such as `"{var=foo/*}"` or `"{var=**}"`, when such a variable is expanded into a URL path on the client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables show up in the [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) as `{+var}`. ## Using gRPC API Service Configuration gRPC API Service Configuration (service config) is a configuration language for configuring a gRPC service to become a user-facing product. The service config is simply the YAML representation of the `google.api.Service` proto message. As an alternative to annotating your proto file, you can configure gRPC transcoding in your service config YAML files. You do this by specifying a `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same effect as the proto annotation. This can be particularly useful if you have a proto that is reused in multiple services. Note that any transcoding specified in the service config will override any matching transcoding configuration in the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/{message_id}/{sub.subfield} ## Special notes When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow the [proto3 specification](https://developers.google.com/protocol-buffers/docs/proto3#json). While the single segment variable follows the semantics of [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion does not expand special characters like `?` and `#`, which would lead to invalid URLs. As the result, gRPC Transcoding uses a custom encoding for multi segment variables. The path variables **must not** refer to any repeated or mapped field, because client libraries are not capable of handling such variable expansion. The path variables **must not** capture the leading "/" character. The reason is that the most common use case "{var}" does not capture the leading "/" character. For consistency, all path variables must share the same behavior. Repeated message fields must not be mapped to URL query parameters, because no client library can support such complicated mapping. If an API needs to use a JSON array for request or response body, it can map the request or response body to a repeated field. However, some gRPC Transcoding implementations may not support this feature.">¶
func (HttpRuleResponseOutput) AdditionalBindings ¶
func (o HttpRuleResponseOutput) AdditionalBindings() HttpRuleResponseArrayOutput
Additional HTTP bindings for the selector. Nested bindings must not contain an `additional_bindings` field themselves (that is, the nesting may only be one level deep).
func (HttpRuleResponseOutput) Body ¶
func (o HttpRuleResponseOutput) Body() pulumi.StringOutput
The name of the request field whose value is mapped to the HTTP request body, or `*` for mapping all request fields not captured by the path pattern to the HTTP body, or omitted for not having any HTTP request body. NOTE: the referred field must be present at the top-level of the request message type.
func (HttpRuleResponseOutput) Custom ¶
func (o HttpRuleResponseOutput) Custom() CustomHttpPatternResponseOutput
The custom pattern is used for specifying an HTTP method that is not included in the `pattern` field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule. The wild-card rule is useful for services that provide content to Web (HTML) clients.
func (HttpRuleResponseOutput) Delete ¶
func (o HttpRuleResponseOutput) Delete() pulumi.StringOutput
Maps to HTTP DELETE. Used for deleting a resource.
func (HttpRuleResponseOutput) ElementType ¶
func (HttpRuleResponseOutput) ElementType() reflect.Type
func (HttpRuleResponseOutput) Get ¶
func (o HttpRuleResponseOutput) Get() pulumi.StringOutput
Maps to HTTP GET. Used for listing and getting information about resources.
func (HttpRuleResponseOutput) Patch ¶
func (o HttpRuleResponseOutput) Patch() pulumi.StringOutput
Maps to HTTP PATCH. Used for updating a resource.
func (HttpRuleResponseOutput) Post ¶
func (o HttpRuleResponseOutput) Post() pulumi.StringOutput
Maps to HTTP POST. Used for creating a resource or performing an action.
func (HttpRuleResponseOutput) Put ¶
func (o HttpRuleResponseOutput) Put() pulumi.StringOutput
Maps to HTTP PUT. Used for replacing a resource.
func (HttpRuleResponseOutput) ResponseBody ¶
func (o HttpRuleResponseOutput) ResponseBody() pulumi.StringOutput
Optional. The name of the response field whose value is mapped to the HTTP response body. When omitted, the entire response message will be used as the HTTP response body. NOTE: The referred field must be present at the top-level of the response message type.
func (HttpRuleResponseOutput) Selector ¶
func (o HttpRuleResponseOutput) Selector() pulumi.StringOutput
Selects a method to which this rule applies. Refer to selector for syntax details.
func (HttpRuleResponseOutput) ToHttpRuleResponseOutput ¶
func (o HttpRuleResponseOutput) ToHttpRuleResponseOutput() HttpRuleResponseOutput
func (HttpRuleResponseOutput) ToHttpRuleResponseOutputWithContext ¶
func (o HttpRuleResponseOutput) ToHttpRuleResponseOutputWithContext(ctx context.Context) HttpRuleResponseOutput
type JwtLocation ¶
type JwtLocation struct { // Specifies HTTP header name to extract JWT token. Header *string `pulumi:"header"` // Specifies URL query parameter name to extract JWT token. Query *string `pulumi:"query"` // The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. ValuePrefix *string `pulumi:"valuePrefix"` }
Specifies a location to extract JWT from an API request.
type JwtLocationArgs ¶
type JwtLocationArgs struct { // Specifies HTTP header name to extract JWT token. Header pulumi.StringPtrInput `pulumi:"header"` // Specifies URL query parameter name to extract JWT token. Query pulumi.StringPtrInput `pulumi:"query"` // The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. ValuePrefix pulumi.StringPtrInput `pulumi:"valuePrefix"` }
Specifies a location to extract JWT from an API request.
func (JwtLocationArgs) ElementType ¶
func (JwtLocationArgs) ElementType() reflect.Type
func (JwtLocationArgs) ToJwtLocationOutput ¶
func (i JwtLocationArgs) ToJwtLocationOutput() JwtLocationOutput
func (JwtLocationArgs) ToJwtLocationOutputWithContext ¶
func (i JwtLocationArgs) ToJwtLocationOutputWithContext(ctx context.Context) JwtLocationOutput
type JwtLocationArray ¶
type JwtLocationArray []JwtLocationInput
func (JwtLocationArray) ElementType ¶
func (JwtLocationArray) ElementType() reflect.Type
func (JwtLocationArray) ToJwtLocationArrayOutput ¶
func (i JwtLocationArray) ToJwtLocationArrayOutput() JwtLocationArrayOutput
func (JwtLocationArray) ToJwtLocationArrayOutputWithContext ¶
func (i JwtLocationArray) ToJwtLocationArrayOutputWithContext(ctx context.Context) JwtLocationArrayOutput
type JwtLocationArrayInput ¶
type JwtLocationArrayInput interface { pulumi.Input ToJwtLocationArrayOutput() JwtLocationArrayOutput ToJwtLocationArrayOutputWithContext(context.Context) JwtLocationArrayOutput }
JwtLocationArrayInput is an input type that accepts JwtLocationArray and JwtLocationArrayOutput values. You can construct a concrete instance of `JwtLocationArrayInput` via:
JwtLocationArray{ JwtLocationArgs{...} }
type JwtLocationArrayOutput ¶
type JwtLocationArrayOutput struct{ *pulumi.OutputState }
func (JwtLocationArrayOutput) ElementType ¶
func (JwtLocationArrayOutput) ElementType() reflect.Type
func (JwtLocationArrayOutput) Index ¶
func (o JwtLocationArrayOutput) Index(i pulumi.IntInput) JwtLocationOutput
func (JwtLocationArrayOutput) ToJwtLocationArrayOutput ¶
func (o JwtLocationArrayOutput) ToJwtLocationArrayOutput() JwtLocationArrayOutput
func (JwtLocationArrayOutput) ToJwtLocationArrayOutputWithContext ¶
func (o JwtLocationArrayOutput) ToJwtLocationArrayOutputWithContext(ctx context.Context) JwtLocationArrayOutput
type JwtLocationInput ¶
type JwtLocationInput interface { pulumi.Input ToJwtLocationOutput() JwtLocationOutput ToJwtLocationOutputWithContext(context.Context) JwtLocationOutput }
JwtLocationInput is an input type that accepts JwtLocationArgs and JwtLocationOutput values. You can construct a concrete instance of `JwtLocationInput` via:
JwtLocationArgs{...}
type JwtLocationOutput ¶
type JwtLocationOutput struct{ *pulumi.OutputState }
Specifies a location to extract JWT from an API request.
func (JwtLocationOutput) ElementType ¶
func (JwtLocationOutput) ElementType() reflect.Type
func (JwtLocationOutput) Header ¶
func (o JwtLocationOutput) Header() pulumi.StringPtrOutput
Specifies HTTP header name to extract JWT token.
func (JwtLocationOutput) Query ¶
func (o JwtLocationOutput) Query() pulumi.StringPtrOutput
Specifies URL query parameter name to extract JWT token.
func (JwtLocationOutput) ToJwtLocationOutput ¶
func (o JwtLocationOutput) ToJwtLocationOutput() JwtLocationOutput
func (JwtLocationOutput) ToJwtLocationOutputWithContext ¶
func (o JwtLocationOutput) ToJwtLocationOutputWithContext(ctx context.Context) JwtLocationOutput
func (JwtLocationOutput) ValuePrefix ¶
func (o JwtLocationOutput) ValuePrefix() pulumi.StringPtrOutput
The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
type JwtLocationResponse ¶
type JwtLocationResponse struct { // Specifies HTTP header name to extract JWT token. Header string `pulumi:"header"` // Specifies URL query parameter name to extract JWT token. Query string `pulumi:"query"` // The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. ValuePrefix string `pulumi:"valuePrefix"` }
Specifies a location to extract JWT from an API request.
type JwtLocationResponseArgs ¶
type JwtLocationResponseArgs struct { // Specifies HTTP header name to extract JWT token. Header pulumi.StringInput `pulumi:"header"` // Specifies URL query parameter name to extract JWT token. Query pulumi.StringInput `pulumi:"query"` // The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end. ValuePrefix pulumi.StringInput `pulumi:"valuePrefix"` }
Specifies a location to extract JWT from an API request.
func (JwtLocationResponseArgs) ElementType ¶
func (JwtLocationResponseArgs) ElementType() reflect.Type
func (JwtLocationResponseArgs) ToJwtLocationResponseOutput ¶
func (i JwtLocationResponseArgs) ToJwtLocationResponseOutput() JwtLocationResponseOutput
func (JwtLocationResponseArgs) ToJwtLocationResponseOutputWithContext ¶
func (i JwtLocationResponseArgs) ToJwtLocationResponseOutputWithContext(ctx context.Context) JwtLocationResponseOutput
type JwtLocationResponseArray ¶
type JwtLocationResponseArray []JwtLocationResponseInput
func (JwtLocationResponseArray) ElementType ¶
func (JwtLocationResponseArray) ElementType() reflect.Type
func (JwtLocationResponseArray) ToJwtLocationResponseArrayOutput ¶
func (i JwtLocationResponseArray) ToJwtLocationResponseArrayOutput() JwtLocationResponseArrayOutput
func (JwtLocationResponseArray) ToJwtLocationResponseArrayOutputWithContext ¶
func (i JwtLocationResponseArray) ToJwtLocationResponseArrayOutputWithContext(ctx context.Context) JwtLocationResponseArrayOutput
type JwtLocationResponseArrayInput ¶
type JwtLocationResponseArrayInput interface { pulumi.Input ToJwtLocationResponseArrayOutput() JwtLocationResponseArrayOutput ToJwtLocationResponseArrayOutputWithContext(context.Context) JwtLocationResponseArrayOutput }
JwtLocationResponseArrayInput is an input type that accepts JwtLocationResponseArray and JwtLocationResponseArrayOutput values. You can construct a concrete instance of `JwtLocationResponseArrayInput` via:
JwtLocationResponseArray{ JwtLocationResponseArgs{...} }
type JwtLocationResponseArrayOutput ¶
type JwtLocationResponseArrayOutput struct{ *pulumi.OutputState }
func (JwtLocationResponseArrayOutput) ElementType ¶
func (JwtLocationResponseArrayOutput) ElementType() reflect.Type
func (JwtLocationResponseArrayOutput) Index ¶
func (o JwtLocationResponseArrayOutput) Index(i pulumi.IntInput) JwtLocationResponseOutput
func (JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutput ¶
func (o JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutput() JwtLocationResponseArrayOutput
func (JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutputWithContext ¶
func (o JwtLocationResponseArrayOutput) ToJwtLocationResponseArrayOutputWithContext(ctx context.Context) JwtLocationResponseArrayOutput
type JwtLocationResponseInput ¶
type JwtLocationResponseInput interface { pulumi.Input ToJwtLocationResponseOutput() JwtLocationResponseOutput ToJwtLocationResponseOutputWithContext(context.Context) JwtLocationResponseOutput }
JwtLocationResponseInput is an input type that accepts JwtLocationResponseArgs and JwtLocationResponseOutput values. You can construct a concrete instance of `JwtLocationResponseInput` via:
JwtLocationResponseArgs{...}
type JwtLocationResponseOutput ¶
type JwtLocationResponseOutput struct{ *pulumi.OutputState }
Specifies a location to extract JWT from an API request.
func (JwtLocationResponseOutput) ElementType ¶
func (JwtLocationResponseOutput) ElementType() reflect.Type
func (JwtLocationResponseOutput) Header ¶
func (o JwtLocationResponseOutput) Header() pulumi.StringOutput
Specifies HTTP header name to extract JWT token.
func (JwtLocationResponseOutput) Query ¶
func (o JwtLocationResponseOutput) Query() pulumi.StringOutput
Specifies URL query parameter name to extract JWT token.
func (JwtLocationResponseOutput) ToJwtLocationResponseOutput ¶
func (o JwtLocationResponseOutput) ToJwtLocationResponseOutput() JwtLocationResponseOutput
func (JwtLocationResponseOutput) ToJwtLocationResponseOutputWithContext ¶
func (o JwtLocationResponseOutput) ToJwtLocationResponseOutputWithContext(ctx context.Context) JwtLocationResponseOutput
func (JwtLocationResponseOutput) ValuePrefix ¶
func (o JwtLocationResponseOutput) ValuePrefix() pulumi.StringOutput
The value prefix. The value format is "value_prefix{token}" Only applies to "in" header type. Must be empty for "in" query type. If not empty, the header value has to match (case sensitive) this prefix. If not matched, JWT will not be extracted. If matched, JWT will be extracted after the prefix is removed. For example, for "Authorization: Bearer {JWT}", value_prefix="Bearer " with a space at the end.
type LabelDescriptor ¶
type LabelDescriptor struct { // A human-readable description for the label. Description *string `pulumi:"description"` // The label key. Key *string `pulumi:"key"` // The type of data that can be assigned to the label. ValueType *string `pulumi:"valueType"` }
A description of a label.
type LabelDescriptorArgs ¶
type LabelDescriptorArgs struct { // A human-readable description for the label. Description pulumi.StringPtrInput `pulumi:"description"` // The label key. Key pulumi.StringPtrInput `pulumi:"key"` // The type of data that can be assigned to the label. ValueType pulumi.StringPtrInput `pulumi:"valueType"` }
A description of a label.
func (LabelDescriptorArgs) ElementType ¶
func (LabelDescriptorArgs) ElementType() reflect.Type
func (LabelDescriptorArgs) ToLabelDescriptorOutput ¶
func (i LabelDescriptorArgs) ToLabelDescriptorOutput() LabelDescriptorOutput
func (LabelDescriptorArgs) ToLabelDescriptorOutputWithContext ¶
func (i LabelDescriptorArgs) ToLabelDescriptorOutputWithContext(ctx context.Context) LabelDescriptorOutput
type LabelDescriptorArray ¶
type LabelDescriptorArray []LabelDescriptorInput
func (LabelDescriptorArray) ElementType ¶
func (LabelDescriptorArray) ElementType() reflect.Type
func (LabelDescriptorArray) ToLabelDescriptorArrayOutput ¶
func (i LabelDescriptorArray) ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput
func (LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext ¶
func (i LabelDescriptorArray) ToLabelDescriptorArrayOutputWithContext(ctx context.Context) LabelDescriptorArrayOutput
type LabelDescriptorArrayInput ¶
type LabelDescriptorArrayInput interface { pulumi.Input ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput ToLabelDescriptorArrayOutputWithContext(context.Context) LabelDescriptorArrayOutput }
LabelDescriptorArrayInput is an input type that accepts LabelDescriptorArray and LabelDescriptorArrayOutput values. You can construct a concrete instance of `LabelDescriptorArrayInput` via:
LabelDescriptorArray{ LabelDescriptorArgs{...} }
type LabelDescriptorArrayOutput ¶
type LabelDescriptorArrayOutput struct{ *pulumi.OutputState }
func (LabelDescriptorArrayOutput) ElementType ¶
func (LabelDescriptorArrayOutput) ElementType() reflect.Type
func (LabelDescriptorArrayOutput) Index ¶
func (o LabelDescriptorArrayOutput) Index(i pulumi.IntInput) LabelDescriptorOutput
func (LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutput ¶
func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutput() LabelDescriptorArrayOutput
func (LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext ¶
func (o LabelDescriptorArrayOutput) ToLabelDescriptorArrayOutputWithContext(ctx context.Context) LabelDescriptorArrayOutput
type LabelDescriptorInput ¶
type LabelDescriptorInput interface { pulumi.Input ToLabelDescriptorOutput() LabelDescriptorOutput ToLabelDescriptorOutputWithContext(context.Context) LabelDescriptorOutput }
LabelDescriptorInput is an input type that accepts LabelDescriptorArgs and LabelDescriptorOutput values. You can construct a concrete instance of `LabelDescriptorInput` via:
LabelDescriptorArgs{...}
type LabelDescriptorOutput ¶
type LabelDescriptorOutput struct{ *pulumi.OutputState }
A description of a label.
func (LabelDescriptorOutput) Description ¶
func (o LabelDescriptorOutput) Description() pulumi.StringPtrOutput
A human-readable description for the label.
func (LabelDescriptorOutput) ElementType ¶
func (LabelDescriptorOutput) ElementType() reflect.Type
func (LabelDescriptorOutput) Key ¶
func (o LabelDescriptorOutput) Key() pulumi.StringPtrOutput
The label key.
func (LabelDescriptorOutput) ToLabelDescriptorOutput ¶
func (o LabelDescriptorOutput) ToLabelDescriptorOutput() LabelDescriptorOutput
func (LabelDescriptorOutput) ToLabelDescriptorOutputWithContext ¶
func (o LabelDescriptorOutput) ToLabelDescriptorOutputWithContext(ctx context.Context) LabelDescriptorOutput
func (LabelDescriptorOutput) ValueType ¶
func (o LabelDescriptorOutput) ValueType() pulumi.StringPtrOutput
The type of data that can be assigned to the label.
type LabelDescriptorResponse ¶
type LabelDescriptorResponse struct { // A human-readable description for the label. Description string `pulumi:"description"` // The label key. Key string `pulumi:"key"` // The type of data that can be assigned to the label. ValueType string `pulumi:"valueType"` }
A description of a label.
type LabelDescriptorResponseArgs ¶
type LabelDescriptorResponseArgs struct { // A human-readable description for the label. Description pulumi.StringInput `pulumi:"description"` // The label key. Key pulumi.StringInput `pulumi:"key"` // The type of data that can be assigned to the label. ValueType pulumi.StringInput `pulumi:"valueType"` }
A description of a label.
func (LabelDescriptorResponseArgs) ElementType ¶
func (LabelDescriptorResponseArgs) ElementType() reflect.Type
func (LabelDescriptorResponseArgs) ToLabelDescriptorResponseOutput ¶
func (i LabelDescriptorResponseArgs) ToLabelDescriptorResponseOutput() LabelDescriptorResponseOutput
func (LabelDescriptorResponseArgs) ToLabelDescriptorResponseOutputWithContext ¶
func (i LabelDescriptorResponseArgs) ToLabelDescriptorResponseOutputWithContext(ctx context.Context) LabelDescriptorResponseOutput
type LabelDescriptorResponseArray ¶
type LabelDescriptorResponseArray []LabelDescriptorResponseInput
func (LabelDescriptorResponseArray) ElementType ¶
func (LabelDescriptorResponseArray) ElementType() reflect.Type
func (LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutput ¶
func (i LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput
func (LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutputWithContext ¶
func (i LabelDescriptorResponseArray) ToLabelDescriptorResponseArrayOutputWithContext(ctx context.Context) LabelDescriptorResponseArrayOutput
type LabelDescriptorResponseArrayInput ¶
type LabelDescriptorResponseArrayInput interface { pulumi.Input ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput ToLabelDescriptorResponseArrayOutputWithContext(context.Context) LabelDescriptorResponseArrayOutput }
LabelDescriptorResponseArrayInput is an input type that accepts LabelDescriptorResponseArray and LabelDescriptorResponseArrayOutput values. You can construct a concrete instance of `LabelDescriptorResponseArrayInput` via:
LabelDescriptorResponseArray{ LabelDescriptorResponseArgs{...} }
type LabelDescriptorResponseArrayOutput ¶
type LabelDescriptorResponseArrayOutput struct{ *pulumi.OutputState }
func (LabelDescriptorResponseArrayOutput) ElementType ¶
func (LabelDescriptorResponseArrayOutput) ElementType() reflect.Type
func (LabelDescriptorResponseArrayOutput) Index ¶
func (o LabelDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LabelDescriptorResponseOutput
func (LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput ¶
func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutput() LabelDescriptorResponseArrayOutput
func (LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutputWithContext ¶
func (o LabelDescriptorResponseArrayOutput) ToLabelDescriptorResponseArrayOutputWithContext(ctx context.Context) LabelDescriptorResponseArrayOutput
type LabelDescriptorResponseInput ¶
type LabelDescriptorResponseInput interface { pulumi.Input ToLabelDescriptorResponseOutput() LabelDescriptorResponseOutput ToLabelDescriptorResponseOutputWithContext(context.Context) LabelDescriptorResponseOutput }
LabelDescriptorResponseInput is an input type that accepts LabelDescriptorResponseArgs and LabelDescriptorResponseOutput values. You can construct a concrete instance of `LabelDescriptorResponseInput` via:
LabelDescriptorResponseArgs{...}
type LabelDescriptorResponseOutput ¶
type LabelDescriptorResponseOutput struct{ *pulumi.OutputState }
A description of a label.
func (LabelDescriptorResponseOutput) Description ¶
func (o LabelDescriptorResponseOutput) Description() pulumi.StringOutput
A human-readable description for the label.
func (LabelDescriptorResponseOutput) ElementType ¶
func (LabelDescriptorResponseOutput) ElementType() reflect.Type
func (LabelDescriptorResponseOutput) Key ¶
func (o LabelDescriptorResponseOutput) Key() pulumi.StringOutput
The label key.
func (LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutput ¶
func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutput() LabelDescriptorResponseOutput
func (LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContext ¶
func (o LabelDescriptorResponseOutput) ToLabelDescriptorResponseOutputWithContext(ctx context.Context) LabelDescriptorResponseOutput
func (LabelDescriptorResponseOutput) ValueType ¶
func (o LabelDescriptorResponseOutput) ValueType() pulumi.StringOutput
The type of data that can be assigned to the label.
type LogDescriptor ¶
type LogDescriptor struct { // A human-readable description of this log. This information appears in the documentation and can contain details. Description *string `pulumi:"description"` // The human-readable name for this log. This information appears on the user interface and should be concise. DisplayName *string `pulumi:"displayName"` // The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid. Labels []LabelDescriptor `pulumi:"labels"` // The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.]. Name *string `pulumi:"name"` }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
type LogDescriptorArgs ¶
type LogDescriptorArgs struct { // A human-readable description of this log. This information appears in the documentation and can contain details. Description pulumi.StringPtrInput `pulumi:"description"` // The human-readable name for this log. This information appears on the user interface and should be concise. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid. Labels LabelDescriptorArrayInput `pulumi:"labels"` // The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.]. Name pulumi.StringPtrInput `pulumi:"name"` }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
func (LogDescriptorArgs) ElementType ¶
func (LogDescriptorArgs) ElementType() reflect.Type
func (LogDescriptorArgs) ToLogDescriptorOutput ¶
func (i LogDescriptorArgs) ToLogDescriptorOutput() LogDescriptorOutput
func (LogDescriptorArgs) ToLogDescriptorOutputWithContext ¶
func (i LogDescriptorArgs) ToLogDescriptorOutputWithContext(ctx context.Context) LogDescriptorOutput
type LogDescriptorArray ¶
type LogDescriptorArray []LogDescriptorInput
func (LogDescriptorArray) ElementType ¶
func (LogDescriptorArray) ElementType() reflect.Type
func (LogDescriptorArray) ToLogDescriptorArrayOutput ¶
func (i LogDescriptorArray) ToLogDescriptorArrayOutput() LogDescriptorArrayOutput
func (LogDescriptorArray) ToLogDescriptorArrayOutputWithContext ¶
func (i LogDescriptorArray) ToLogDescriptorArrayOutputWithContext(ctx context.Context) LogDescriptorArrayOutput
type LogDescriptorArrayInput ¶
type LogDescriptorArrayInput interface { pulumi.Input ToLogDescriptorArrayOutput() LogDescriptorArrayOutput ToLogDescriptorArrayOutputWithContext(context.Context) LogDescriptorArrayOutput }
LogDescriptorArrayInput is an input type that accepts LogDescriptorArray and LogDescriptorArrayOutput values. You can construct a concrete instance of `LogDescriptorArrayInput` via:
LogDescriptorArray{ LogDescriptorArgs{...} }
type LogDescriptorArrayOutput ¶
type LogDescriptorArrayOutput struct{ *pulumi.OutputState }
func (LogDescriptorArrayOutput) ElementType ¶
func (LogDescriptorArrayOutput) ElementType() reflect.Type
func (LogDescriptorArrayOutput) Index ¶
func (o LogDescriptorArrayOutput) Index(i pulumi.IntInput) LogDescriptorOutput
func (LogDescriptorArrayOutput) ToLogDescriptorArrayOutput ¶
func (o LogDescriptorArrayOutput) ToLogDescriptorArrayOutput() LogDescriptorArrayOutput
func (LogDescriptorArrayOutput) ToLogDescriptorArrayOutputWithContext ¶
func (o LogDescriptorArrayOutput) ToLogDescriptorArrayOutputWithContext(ctx context.Context) LogDescriptorArrayOutput
type LogDescriptorInput ¶
type LogDescriptorInput interface { pulumi.Input ToLogDescriptorOutput() LogDescriptorOutput ToLogDescriptorOutputWithContext(context.Context) LogDescriptorOutput }
LogDescriptorInput is an input type that accepts LogDescriptorArgs and LogDescriptorOutput values. You can construct a concrete instance of `LogDescriptorInput` via:
LogDescriptorArgs{...}
type LogDescriptorOutput ¶
type LogDescriptorOutput struct{ *pulumi.OutputState }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
func (LogDescriptorOutput) Description ¶
func (o LogDescriptorOutput) Description() pulumi.StringPtrOutput
A human-readable description of this log. This information appears in the documentation and can contain details.
func (LogDescriptorOutput) DisplayName ¶
func (o LogDescriptorOutput) DisplayName() pulumi.StringPtrOutput
The human-readable name for this log. This information appears on the user interface and should be concise.
func (LogDescriptorOutput) ElementType ¶
func (LogDescriptorOutput) ElementType() reflect.Type
func (LogDescriptorOutput) Labels ¶
func (o LogDescriptorOutput) Labels() LabelDescriptorArrayOutput
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
func (LogDescriptorOutput) Name ¶
func (o LogDescriptorOutput) Name() pulumi.StringPtrOutput
The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].
func (LogDescriptorOutput) ToLogDescriptorOutput ¶
func (o LogDescriptorOutput) ToLogDescriptorOutput() LogDescriptorOutput
func (LogDescriptorOutput) ToLogDescriptorOutputWithContext ¶
func (o LogDescriptorOutput) ToLogDescriptorOutputWithContext(ctx context.Context) LogDescriptorOutput
type LogDescriptorResponse ¶
type LogDescriptorResponse struct { // A human-readable description of this log. This information appears in the documentation and can contain details. Description string `pulumi:"description"` // The human-readable name for this log. This information appears on the user interface and should be concise. DisplayName string `pulumi:"displayName"` // The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid. Labels []LabelDescriptorResponse `pulumi:"labels"` // The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.]. Name string `pulumi:"name"` }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
type LogDescriptorResponseArgs ¶
type LogDescriptorResponseArgs struct { // A human-readable description of this log. This information appears in the documentation and can contain details. Description pulumi.StringInput `pulumi:"description"` // The human-readable name for this log. This information appears on the user interface and should be concise. DisplayName pulumi.StringInput `pulumi:"displayName"` // The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid. Labels LabelDescriptorResponseArrayInput `pulumi:"labels"` // The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.]. Name pulumi.StringInput `pulumi:"name"` }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
func (LogDescriptorResponseArgs) ElementType ¶
func (LogDescriptorResponseArgs) ElementType() reflect.Type
func (LogDescriptorResponseArgs) ToLogDescriptorResponseOutput ¶
func (i LogDescriptorResponseArgs) ToLogDescriptorResponseOutput() LogDescriptorResponseOutput
func (LogDescriptorResponseArgs) ToLogDescriptorResponseOutputWithContext ¶
func (i LogDescriptorResponseArgs) ToLogDescriptorResponseOutputWithContext(ctx context.Context) LogDescriptorResponseOutput
type LogDescriptorResponseArray ¶
type LogDescriptorResponseArray []LogDescriptorResponseInput
func (LogDescriptorResponseArray) ElementType ¶
func (LogDescriptorResponseArray) ElementType() reflect.Type
func (LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutput ¶
func (i LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutput() LogDescriptorResponseArrayOutput
func (LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutputWithContext ¶
func (i LogDescriptorResponseArray) ToLogDescriptorResponseArrayOutputWithContext(ctx context.Context) LogDescriptorResponseArrayOutput
type LogDescriptorResponseArrayInput ¶
type LogDescriptorResponseArrayInput interface { pulumi.Input ToLogDescriptorResponseArrayOutput() LogDescriptorResponseArrayOutput ToLogDescriptorResponseArrayOutputWithContext(context.Context) LogDescriptorResponseArrayOutput }
LogDescriptorResponseArrayInput is an input type that accepts LogDescriptorResponseArray and LogDescriptorResponseArrayOutput values. You can construct a concrete instance of `LogDescriptorResponseArrayInput` via:
LogDescriptorResponseArray{ LogDescriptorResponseArgs{...} }
type LogDescriptorResponseArrayOutput ¶
type LogDescriptorResponseArrayOutput struct{ *pulumi.OutputState }
func (LogDescriptorResponseArrayOutput) ElementType ¶
func (LogDescriptorResponseArrayOutput) ElementType() reflect.Type
func (LogDescriptorResponseArrayOutput) Index ¶
func (o LogDescriptorResponseArrayOutput) Index(i pulumi.IntInput) LogDescriptorResponseOutput
func (LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutput ¶
func (o LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutput() LogDescriptorResponseArrayOutput
func (LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutputWithContext ¶
func (o LogDescriptorResponseArrayOutput) ToLogDescriptorResponseArrayOutputWithContext(ctx context.Context) LogDescriptorResponseArrayOutput
type LogDescriptorResponseInput ¶
type LogDescriptorResponseInput interface { pulumi.Input ToLogDescriptorResponseOutput() LogDescriptorResponseOutput ToLogDescriptorResponseOutputWithContext(context.Context) LogDescriptorResponseOutput }
LogDescriptorResponseInput is an input type that accepts LogDescriptorResponseArgs and LogDescriptorResponseOutput values. You can construct a concrete instance of `LogDescriptorResponseInput` via:
LogDescriptorResponseArgs{...}
type LogDescriptorResponseOutput ¶
type LogDescriptorResponseOutput struct{ *pulumi.OutputState }
A description of a log type. Example in YAML format: - name: library.googleapis.com/activity_history description: The history of borrowing and returning library items. display_name: Activity labels: - key: /customer_id description: Identifier of a library customer
func (LogDescriptorResponseOutput) Description ¶
func (o LogDescriptorResponseOutput) Description() pulumi.StringOutput
A human-readable description of this log. This information appears in the documentation and can contain details.
func (LogDescriptorResponseOutput) DisplayName ¶
func (o LogDescriptorResponseOutput) DisplayName() pulumi.StringOutput
The human-readable name for this log. This information appears on the user interface and should be concise.
func (LogDescriptorResponseOutput) ElementType ¶
func (LogDescriptorResponseOutput) ElementType() reflect.Type
func (LogDescriptorResponseOutput) Labels ¶
func (o LogDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
The set of labels that are available to describe a specific log entry. Runtime requests that contain labels not specified here are considered invalid.
func (LogDescriptorResponseOutput) Name ¶
func (o LogDescriptorResponseOutput) Name() pulumi.StringOutput
The name of the log. It must be less than 512 characters long and can include the following characters: upper- and lower-case alphanumeric characters [A-Za-z0-9], and punctuation characters including slash, underscore, hyphen, period [/_-.].
func (LogDescriptorResponseOutput) ToLogDescriptorResponseOutput ¶
func (o LogDescriptorResponseOutput) ToLogDescriptorResponseOutput() LogDescriptorResponseOutput
func (LogDescriptorResponseOutput) ToLogDescriptorResponseOutputWithContext ¶
func (o LogDescriptorResponseOutput) ToLogDescriptorResponseOutputWithContext(ctx context.Context) LogDescriptorResponseOutput
type Logging ¶
type Logging struct { // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. ConsumerDestinations []LoggingDestination `pulumi:"consumerDestinations"` // Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination. ProducerDestinations []LoggingDestination `pulumi:"producerDestinations"` }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
type LoggingArgs ¶
type LoggingArgs struct { // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. ConsumerDestinations LoggingDestinationArrayInput `pulumi:"consumerDestinations"` // Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination. ProducerDestinations LoggingDestinationArrayInput `pulumi:"producerDestinations"` }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
func (LoggingArgs) ElementType ¶
func (LoggingArgs) ElementType() reflect.Type
func (LoggingArgs) ToLoggingOutput ¶
func (i LoggingArgs) ToLoggingOutput() LoggingOutput
func (LoggingArgs) ToLoggingOutputWithContext ¶
func (i LoggingArgs) ToLoggingOutputWithContext(ctx context.Context) LoggingOutput
func (LoggingArgs) ToLoggingPtrOutput ¶
func (i LoggingArgs) ToLoggingPtrOutput() LoggingPtrOutput
func (LoggingArgs) ToLoggingPtrOutputWithContext ¶
func (i LoggingArgs) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
type LoggingDestination ¶
type LoggingDestination struct { // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". Logs []string `pulumi:"logs"` // The monitored resource type. The type must be defined in the Service.monitored_resources section. MonitoredResource *string `pulumi:"monitoredResource"` }
Configuration of a specific logging destination (the producer project or the consumer project).
type LoggingDestinationArgs ¶
type LoggingDestinationArgs struct { // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". Logs pulumi.StringArrayInput `pulumi:"logs"` // The monitored resource type. The type must be defined in the Service.monitored_resources section. MonitoredResource pulumi.StringPtrInput `pulumi:"monitoredResource"` }
Configuration of a specific logging destination (the producer project or the consumer project).
func (LoggingDestinationArgs) ElementType ¶
func (LoggingDestinationArgs) ElementType() reflect.Type
func (LoggingDestinationArgs) ToLoggingDestinationOutput ¶
func (i LoggingDestinationArgs) ToLoggingDestinationOutput() LoggingDestinationOutput
func (LoggingDestinationArgs) ToLoggingDestinationOutputWithContext ¶
func (i LoggingDestinationArgs) ToLoggingDestinationOutputWithContext(ctx context.Context) LoggingDestinationOutput
type LoggingDestinationArray ¶
type LoggingDestinationArray []LoggingDestinationInput
func (LoggingDestinationArray) ElementType ¶
func (LoggingDestinationArray) ElementType() reflect.Type
func (LoggingDestinationArray) ToLoggingDestinationArrayOutput ¶
func (i LoggingDestinationArray) ToLoggingDestinationArrayOutput() LoggingDestinationArrayOutput
func (LoggingDestinationArray) ToLoggingDestinationArrayOutputWithContext ¶
func (i LoggingDestinationArray) ToLoggingDestinationArrayOutputWithContext(ctx context.Context) LoggingDestinationArrayOutput
type LoggingDestinationArrayInput ¶
type LoggingDestinationArrayInput interface { pulumi.Input ToLoggingDestinationArrayOutput() LoggingDestinationArrayOutput ToLoggingDestinationArrayOutputWithContext(context.Context) LoggingDestinationArrayOutput }
LoggingDestinationArrayInput is an input type that accepts LoggingDestinationArray and LoggingDestinationArrayOutput values. You can construct a concrete instance of `LoggingDestinationArrayInput` via:
LoggingDestinationArray{ LoggingDestinationArgs{...} }
type LoggingDestinationArrayOutput ¶
type LoggingDestinationArrayOutput struct{ *pulumi.OutputState }
func (LoggingDestinationArrayOutput) ElementType ¶
func (LoggingDestinationArrayOutput) ElementType() reflect.Type
func (LoggingDestinationArrayOutput) Index ¶
func (o LoggingDestinationArrayOutput) Index(i pulumi.IntInput) LoggingDestinationOutput
func (LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutput ¶
func (o LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutput() LoggingDestinationArrayOutput
func (LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutputWithContext ¶
func (o LoggingDestinationArrayOutput) ToLoggingDestinationArrayOutputWithContext(ctx context.Context) LoggingDestinationArrayOutput
type LoggingDestinationInput ¶
type LoggingDestinationInput interface { pulumi.Input ToLoggingDestinationOutput() LoggingDestinationOutput ToLoggingDestinationOutputWithContext(context.Context) LoggingDestinationOutput }
LoggingDestinationInput is an input type that accepts LoggingDestinationArgs and LoggingDestinationOutput values. You can construct a concrete instance of `LoggingDestinationInput` via:
LoggingDestinationArgs{...}
type LoggingDestinationOutput ¶
type LoggingDestinationOutput struct{ *pulumi.OutputState }
Configuration of a specific logging destination (the producer project or the consumer project).
func (LoggingDestinationOutput) ElementType ¶
func (LoggingDestinationOutput) ElementType() reflect.Type
func (LoggingDestinationOutput) Logs ¶
func (o LoggingDestinationOutput) Logs() pulumi.StringArrayOutput
Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
func (LoggingDestinationOutput) MonitoredResource ¶
func (o LoggingDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
The monitored resource type. The type must be defined in the Service.monitored_resources section.
func (LoggingDestinationOutput) ToLoggingDestinationOutput ¶
func (o LoggingDestinationOutput) ToLoggingDestinationOutput() LoggingDestinationOutput
func (LoggingDestinationOutput) ToLoggingDestinationOutputWithContext ¶
func (o LoggingDestinationOutput) ToLoggingDestinationOutputWithContext(ctx context.Context) LoggingDestinationOutput
type LoggingDestinationResponse ¶
type LoggingDestinationResponse struct { // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". Logs []string `pulumi:"logs"` // The monitored resource type. The type must be defined in the Service.monitored_resources section. MonitoredResource string `pulumi:"monitoredResource"` }
Configuration of a specific logging destination (the producer project or the consumer project).
type LoggingDestinationResponseArgs ¶
type LoggingDestinationResponseArgs struct { // Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/". Logs pulumi.StringArrayInput `pulumi:"logs"` // The monitored resource type. The type must be defined in the Service.monitored_resources section. MonitoredResource pulumi.StringInput `pulumi:"monitoredResource"` }
Configuration of a specific logging destination (the producer project or the consumer project).
func (LoggingDestinationResponseArgs) ElementType ¶
func (LoggingDestinationResponseArgs) ElementType() reflect.Type
func (LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutput ¶
func (i LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutput() LoggingDestinationResponseOutput
func (LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutputWithContext ¶
func (i LoggingDestinationResponseArgs) ToLoggingDestinationResponseOutputWithContext(ctx context.Context) LoggingDestinationResponseOutput
type LoggingDestinationResponseArray ¶
type LoggingDestinationResponseArray []LoggingDestinationResponseInput
func (LoggingDestinationResponseArray) ElementType ¶
func (LoggingDestinationResponseArray) ElementType() reflect.Type
func (LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutput ¶
func (i LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutput() LoggingDestinationResponseArrayOutput
func (LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutputWithContext ¶
func (i LoggingDestinationResponseArray) ToLoggingDestinationResponseArrayOutputWithContext(ctx context.Context) LoggingDestinationResponseArrayOutput
type LoggingDestinationResponseArrayInput ¶
type LoggingDestinationResponseArrayInput interface { pulumi.Input ToLoggingDestinationResponseArrayOutput() LoggingDestinationResponseArrayOutput ToLoggingDestinationResponseArrayOutputWithContext(context.Context) LoggingDestinationResponseArrayOutput }
LoggingDestinationResponseArrayInput is an input type that accepts LoggingDestinationResponseArray and LoggingDestinationResponseArrayOutput values. You can construct a concrete instance of `LoggingDestinationResponseArrayInput` via:
LoggingDestinationResponseArray{ LoggingDestinationResponseArgs{...} }
type LoggingDestinationResponseArrayOutput ¶
type LoggingDestinationResponseArrayOutput struct{ *pulumi.OutputState }
func (LoggingDestinationResponseArrayOutput) ElementType ¶
func (LoggingDestinationResponseArrayOutput) ElementType() reflect.Type
func (LoggingDestinationResponseArrayOutput) Index ¶
func (o LoggingDestinationResponseArrayOutput) Index(i pulumi.IntInput) LoggingDestinationResponseOutput
func (LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutput ¶
func (o LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutput() LoggingDestinationResponseArrayOutput
func (LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutputWithContext ¶
func (o LoggingDestinationResponseArrayOutput) ToLoggingDestinationResponseArrayOutputWithContext(ctx context.Context) LoggingDestinationResponseArrayOutput
type LoggingDestinationResponseInput ¶
type LoggingDestinationResponseInput interface { pulumi.Input ToLoggingDestinationResponseOutput() LoggingDestinationResponseOutput ToLoggingDestinationResponseOutputWithContext(context.Context) LoggingDestinationResponseOutput }
LoggingDestinationResponseInput is an input type that accepts LoggingDestinationResponseArgs and LoggingDestinationResponseOutput values. You can construct a concrete instance of `LoggingDestinationResponseInput` via:
LoggingDestinationResponseArgs{...}
type LoggingDestinationResponseOutput ¶
type LoggingDestinationResponseOutput struct{ *pulumi.OutputState }
Configuration of a specific logging destination (the producer project or the consumer project).
func (LoggingDestinationResponseOutput) ElementType ¶
func (LoggingDestinationResponseOutput) ElementType() reflect.Type
func (LoggingDestinationResponseOutput) Logs ¶
func (o LoggingDestinationResponseOutput) Logs() pulumi.StringArrayOutput
Names of the logs to be sent to this destination. Each name must be defined in the Service.logs section. If the log name is not a domain scoped name, it will be automatically prefixed with the service name followed by "/".
func (LoggingDestinationResponseOutput) MonitoredResource ¶
func (o LoggingDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
The monitored resource type. The type must be defined in the Service.monitored_resources section.
func (LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutput ¶
func (o LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutput() LoggingDestinationResponseOutput
func (LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutputWithContext ¶
func (o LoggingDestinationResponseOutput) ToLoggingDestinationResponseOutputWithContext(ctx context.Context) LoggingDestinationResponseOutput
type LoggingInput ¶
type LoggingInput interface { pulumi.Input ToLoggingOutput() LoggingOutput ToLoggingOutputWithContext(context.Context) LoggingOutput }
LoggingInput is an input type that accepts LoggingArgs and LoggingOutput values. You can construct a concrete instance of `LoggingInput` via:
LoggingArgs{...}
type LoggingOutput ¶
type LoggingOutput struct{ *pulumi.OutputState }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
func (LoggingOutput) ConsumerDestinations ¶
func (o LoggingOutput) ConsumerDestinations() LoggingDestinationArrayOutput
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
func (LoggingOutput) ElementType ¶
func (LoggingOutput) ElementType() reflect.Type
func (LoggingOutput) ProducerDestinations ¶
func (o LoggingOutput) ProducerDestinations() LoggingDestinationArrayOutput
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
func (LoggingOutput) ToLoggingOutput ¶
func (o LoggingOutput) ToLoggingOutput() LoggingOutput
func (LoggingOutput) ToLoggingOutputWithContext ¶
func (o LoggingOutput) ToLoggingOutputWithContext(ctx context.Context) LoggingOutput
func (LoggingOutput) ToLoggingPtrOutput ¶
func (o LoggingOutput) ToLoggingPtrOutput() LoggingPtrOutput
func (LoggingOutput) ToLoggingPtrOutputWithContext ¶
func (o LoggingOutput) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
type LoggingPtrInput ¶
type LoggingPtrInput interface { pulumi.Input ToLoggingPtrOutput() LoggingPtrOutput ToLoggingPtrOutputWithContext(context.Context) LoggingPtrOutput }
LoggingPtrInput is an input type that accepts LoggingArgs, LoggingPtr and LoggingPtrOutput values. You can construct a concrete instance of `LoggingPtrInput` via:
LoggingArgs{...} or: nil
func LoggingPtr ¶
func LoggingPtr(v *LoggingArgs) LoggingPtrInput
type LoggingPtrOutput ¶
type LoggingPtrOutput struct{ *pulumi.OutputState }
func (LoggingPtrOutput) ConsumerDestinations ¶
func (o LoggingPtrOutput) ConsumerDestinations() LoggingDestinationArrayOutput
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
func (LoggingPtrOutput) Elem ¶
func (o LoggingPtrOutput) Elem() LoggingOutput
func (LoggingPtrOutput) ElementType ¶
func (LoggingPtrOutput) ElementType() reflect.Type
func (LoggingPtrOutput) ProducerDestinations ¶
func (o LoggingPtrOutput) ProducerDestinations() LoggingDestinationArrayOutput
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
func (LoggingPtrOutput) ToLoggingPtrOutput ¶
func (o LoggingPtrOutput) ToLoggingPtrOutput() LoggingPtrOutput
func (LoggingPtrOutput) ToLoggingPtrOutputWithContext ¶
func (o LoggingPtrOutput) ToLoggingPtrOutputWithContext(ctx context.Context) LoggingPtrOutput
type LoggingResponse ¶
type LoggingResponse struct { // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. ConsumerDestinations []LoggingDestinationResponse `pulumi:"consumerDestinations"` // Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination. ProducerDestinations []LoggingDestinationResponse `pulumi:"producerDestinations"` }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
type LoggingResponseArgs ¶
type LoggingResponseArgs struct { // Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination. ConsumerDestinations LoggingDestinationResponseArrayInput `pulumi:"consumerDestinations"` // Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination. ProducerDestinations LoggingDestinationResponseArrayInput `pulumi:"producerDestinations"` }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
func (LoggingResponseArgs) ElementType ¶
func (LoggingResponseArgs) ElementType() reflect.Type
func (LoggingResponseArgs) ToLoggingResponseOutput ¶
func (i LoggingResponseArgs) ToLoggingResponseOutput() LoggingResponseOutput
func (LoggingResponseArgs) ToLoggingResponseOutputWithContext ¶
func (i LoggingResponseArgs) ToLoggingResponseOutputWithContext(ctx context.Context) LoggingResponseOutput
func (LoggingResponseArgs) ToLoggingResponsePtrOutput ¶
func (i LoggingResponseArgs) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
func (LoggingResponseArgs) ToLoggingResponsePtrOutputWithContext ¶
func (i LoggingResponseArgs) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
type LoggingResponseInput ¶
type LoggingResponseInput interface { pulumi.Input ToLoggingResponseOutput() LoggingResponseOutput ToLoggingResponseOutputWithContext(context.Context) LoggingResponseOutput }
LoggingResponseInput is an input type that accepts LoggingResponseArgs and LoggingResponseOutput values. You can construct a concrete instance of `LoggingResponseInput` via:
LoggingResponseArgs{...}
type LoggingResponseOutput ¶
type LoggingResponseOutput struct{ *pulumi.OutputState }
Logging configuration of the service. The following example shows how to configure logs to be sent to the producer and consumer projects. In the example, the `activity_history` log is sent to both the producer and consumer projects, whereas the `purchase_history` log is only sent to the producer project. monitored_resources: - type: library.googleapis.com/branch labels: - key: /city description: The city where the library branch is located in. - key: /name description: The name of the branch. logs: - name: activity_history labels: - key: /customer_id - name: purchase_history logging: producer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history - purchase_history consumer_destinations: - monitored_resource: library.googleapis.com/branch logs: - activity_history
func (LoggingResponseOutput) ConsumerDestinations ¶
func (o LoggingResponseOutput) ConsumerDestinations() LoggingDestinationResponseArrayOutput
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
func (LoggingResponseOutput) ElementType ¶
func (LoggingResponseOutput) ElementType() reflect.Type
func (LoggingResponseOutput) ProducerDestinations ¶
func (o LoggingResponseOutput) ProducerDestinations() LoggingDestinationResponseArrayOutput
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
func (LoggingResponseOutput) ToLoggingResponseOutput ¶
func (o LoggingResponseOutput) ToLoggingResponseOutput() LoggingResponseOutput
func (LoggingResponseOutput) ToLoggingResponseOutputWithContext ¶
func (o LoggingResponseOutput) ToLoggingResponseOutputWithContext(ctx context.Context) LoggingResponseOutput
func (LoggingResponseOutput) ToLoggingResponsePtrOutput ¶
func (o LoggingResponseOutput) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
func (LoggingResponseOutput) ToLoggingResponsePtrOutputWithContext ¶
func (o LoggingResponseOutput) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
type LoggingResponsePtrInput ¶
type LoggingResponsePtrInput interface { pulumi.Input ToLoggingResponsePtrOutput() LoggingResponsePtrOutput ToLoggingResponsePtrOutputWithContext(context.Context) LoggingResponsePtrOutput }
LoggingResponsePtrInput is an input type that accepts LoggingResponseArgs, LoggingResponsePtr and LoggingResponsePtrOutput values. You can construct a concrete instance of `LoggingResponsePtrInput` via:
LoggingResponseArgs{...} or: nil
func LoggingResponsePtr ¶
func LoggingResponsePtr(v *LoggingResponseArgs) LoggingResponsePtrInput
type LoggingResponsePtrOutput ¶
type LoggingResponsePtrOutput struct{ *pulumi.OutputState }
func (LoggingResponsePtrOutput) ConsumerDestinations ¶
func (o LoggingResponsePtrOutput) ConsumerDestinations() LoggingDestinationResponseArrayOutput
Logging configurations for sending logs to the consumer project. There can be multiple consumer destinations, each one must have a different monitored resource type. A log can be used in at most one consumer destination.
func (LoggingResponsePtrOutput) Elem ¶
func (o LoggingResponsePtrOutput) Elem() LoggingResponseOutput
func (LoggingResponsePtrOutput) ElementType ¶
func (LoggingResponsePtrOutput) ElementType() reflect.Type
func (LoggingResponsePtrOutput) ProducerDestinations ¶
func (o LoggingResponsePtrOutput) ProducerDestinations() LoggingDestinationResponseArrayOutput
Logging configurations for sending logs to the producer project. There can be multiple producer destinations, each one must have a different monitored resource type. A log can be used in at most one producer destination.
func (LoggingResponsePtrOutput) ToLoggingResponsePtrOutput ¶
func (o LoggingResponsePtrOutput) ToLoggingResponsePtrOutput() LoggingResponsePtrOutput
func (LoggingResponsePtrOutput) ToLoggingResponsePtrOutputWithContext ¶
func (o LoggingResponsePtrOutput) ToLoggingResponsePtrOutputWithContext(ctx context.Context) LoggingResponsePtrOutput
type Method ¶
type Method struct { // The simple name of this method. Name *string `pulumi:"name"` // Any metadata attached to the method. Options []Option `pulumi:"options"` // If true, the request is streamed. RequestStreaming *bool `pulumi:"requestStreaming"` // A URL of the input message type. RequestTypeUrl *string `pulumi:"requestTypeUrl"` // If true, the response is streamed. ResponseStreaming *bool `pulumi:"responseStreaming"` // The URL of the output message type. ResponseTypeUrl *string `pulumi:"responseTypeUrl"` // The source syntax of this method. Syntax *string `pulumi:"syntax"` }
Method represents a method of an API interface.
type MethodArgs ¶
type MethodArgs struct { // The simple name of this method. Name pulumi.StringPtrInput `pulumi:"name"` // Any metadata attached to the method. Options OptionArrayInput `pulumi:"options"` // If true, the request is streamed. RequestStreaming pulumi.BoolPtrInput `pulumi:"requestStreaming"` // A URL of the input message type. RequestTypeUrl pulumi.StringPtrInput `pulumi:"requestTypeUrl"` // If true, the response is streamed. ResponseStreaming pulumi.BoolPtrInput `pulumi:"responseStreaming"` // The URL of the output message type. ResponseTypeUrl pulumi.StringPtrInput `pulumi:"responseTypeUrl"` // The source syntax of this method. Syntax pulumi.StringPtrInput `pulumi:"syntax"` }
Method represents a method of an API interface.
func (MethodArgs) ElementType ¶
func (MethodArgs) ElementType() reflect.Type
func (MethodArgs) ToMethodOutput ¶
func (i MethodArgs) ToMethodOutput() MethodOutput
func (MethodArgs) ToMethodOutputWithContext ¶
func (i MethodArgs) ToMethodOutputWithContext(ctx context.Context) MethodOutput
type MethodArray ¶
type MethodArray []MethodInput
func (MethodArray) ElementType ¶
func (MethodArray) ElementType() reflect.Type
func (MethodArray) ToMethodArrayOutput ¶
func (i MethodArray) ToMethodArrayOutput() MethodArrayOutput
func (MethodArray) ToMethodArrayOutputWithContext ¶
func (i MethodArray) ToMethodArrayOutputWithContext(ctx context.Context) MethodArrayOutput
type MethodArrayInput ¶
type MethodArrayInput interface { pulumi.Input ToMethodArrayOutput() MethodArrayOutput ToMethodArrayOutputWithContext(context.Context) MethodArrayOutput }
MethodArrayInput is an input type that accepts MethodArray and MethodArrayOutput values. You can construct a concrete instance of `MethodArrayInput` via:
MethodArray{ MethodArgs{...} }
type MethodArrayOutput ¶
type MethodArrayOutput struct{ *pulumi.OutputState }
func (MethodArrayOutput) ElementType ¶
func (MethodArrayOutput) ElementType() reflect.Type
func (MethodArrayOutput) Index ¶
func (o MethodArrayOutput) Index(i pulumi.IntInput) MethodOutput
func (MethodArrayOutput) ToMethodArrayOutput ¶
func (o MethodArrayOutput) ToMethodArrayOutput() MethodArrayOutput
func (MethodArrayOutput) ToMethodArrayOutputWithContext ¶
func (o MethodArrayOutput) ToMethodArrayOutputWithContext(ctx context.Context) MethodArrayOutput
type MethodInput ¶
type MethodInput interface { pulumi.Input ToMethodOutput() MethodOutput ToMethodOutputWithContext(context.Context) MethodOutput }
MethodInput is an input type that accepts MethodArgs and MethodOutput values. You can construct a concrete instance of `MethodInput` via:
MethodArgs{...}
type MethodOutput ¶
type MethodOutput struct{ *pulumi.OutputState }
Method represents a method of an API interface.
func (MethodOutput) ElementType ¶
func (MethodOutput) ElementType() reflect.Type
func (MethodOutput) Name ¶
func (o MethodOutput) Name() pulumi.StringPtrOutput
The simple name of this method.
func (MethodOutput) Options ¶
func (o MethodOutput) Options() OptionArrayOutput
Any metadata attached to the method.
func (MethodOutput) RequestStreaming ¶
func (o MethodOutput) RequestStreaming() pulumi.BoolPtrOutput
If true, the request is streamed.
func (MethodOutput) RequestTypeUrl ¶
func (o MethodOutput) RequestTypeUrl() pulumi.StringPtrOutput
A URL of the input message type.
func (MethodOutput) ResponseStreaming ¶
func (o MethodOutput) ResponseStreaming() pulumi.BoolPtrOutput
If true, the response is streamed.
func (MethodOutput) ResponseTypeUrl ¶
func (o MethodOutput) ResponseTypeUrl() pulumi.StringPtrOutput
The URL of the output message type.
func (MethodOutput) Syntax ¶
func (o MethodOutput) Syntax() pulumi.StringPtrOutput
The source syntax of this method.
func (MethodOutput) ToMethodOutput ¶
func (o MethodOutput) ToMethodOutput() MethodOutput
func (MethodOutput) ToMethodOutputWithContext ¶
func (o MethodOutput) ToMethodOutputWithContext(ctx context.Context) MethodOutput
type MethodResponse ¶
type MethodResponse struct { // The simple name of this method. Name string `pulumi:"name"` // Any metadata attached to the method. Options []OptionResponse `pulumi:"options"` // If true, the request is streamed. RequestStreaming bool `pulumi:"requestStreaming"` // A URL of the input message type. RequestTypeUrl string `pulumi:"requestTypeUrl"` // If true, the response is streamed. ResponseStreaming bool `pulumi:"responseStreaming"` // The URL of the output message type. ResponseTypeUrl string `pulumi:"responseTypeUrl"` // The source syntax of this method. Syntax string `pulumi:"syntax"` }
Method represents a method of an API interface.
type MethodResponseArgs ¶
type MethodResponseArgs struct { // The simple name of this method. Name pulumi.StringInput `pulumi:"name"` // Any metadata attached to the method. Options OptionResponseArrayInput `pulumi:"options"` // If true, the request is streamed. RequestStreaming pulumi.BoolInput `pulumi:"requestStreaming"` // A URL of the input message type. RequestTypeUrl pulumi.StringInput `pulumi:"requestTypeUrl"` // If true, the response is streamed. ResponseStreaming pulumi.BoolInput `pulumi:"responseStreaming"` // The URL of the output message type. ResponseTypeUrl pulumi.StringInput `pulumi:"responseTypeUrl"` // The source syntax of this method. Syntax pulumi.StringInput `pulumi:"syntax"` }
Method represents a method of an API interface.
func (MethodResponseArgs) ElementType ¶
func (MethodResponseArgs) ElementType() reflect.Type
func (MethodResponseArgs) ToMethodResponseOutput ¶
func (i MethodResponseArgs) ToMethodResponseOutput() MethodResponseOutput
func (MethodResponseArgs) ToMethodResponseOutputWithContext ¶
func (i MethodResponseArgs) ToMethodResponseOutputWithContext(ctx context.Context) MethodResponseOutput
type MethodResponseArray ¶
type MethodResponseArray []MethodResponseInput
func (MethodResponseArray) ElementType ¶
func (MethodResponseArray) ElementType() reflect.Type
func (MethodResponseArray) ToMethodResponseArrayOutput ¶
func (i MethodResponseArray) ToMethodResponseArrayOutput() MethodResponseArrayOutput
func (MethodResponseArray) ToMethodResponseArrayOutputWithContext ¶
func (i MethodResponseArray) ToMethodResponseArrayOutputWithContext(ctx context.Context) MethodResponseArrayOutput
type MethodResponseArrayInput ¶
type MethodResponseArrayInput interface { pulumi.Input ToMethodResponseArrayOutput() MethodResponseArrayOutput ToMethodResponseArrayOutputWithContext(context.Context) MethodResponseArrayOutput }
MethodResponseArrayInput is an input type that accepts MethodResponseArray and MethodResponseArrayOutput values. You can construct a concrete instance of `MethodResponseArrayInput` via:
MethodResponseArray{ MethodResponseArgs{...} }
type MethodResponseArrayOutput ¶
type MethodResponseArrayOutput struct{ *pulumi.OutputState }
func (MethodResponseArrayOutput) ElementType ¶
func (MethodResponseArrayOutput) ElementType() reflect.Type
func (MethodResponseArrayOutput) Index ¶
func (o MethodResponseArrayOutput) Index(i pulumi.IntInput) MethodResponseOutput
func (MethodResponseArrayOutput) ToMethodResponseArrayOutput ¶
func (o MethodResponseArrayOutput) ToMethodResponseArrayOutput() MethodResponseArrayOutput
func (MethodResponseArrayOutput) ToMethodResponseArrayOutputWithContext ¶
func (o MethodResponseArrayOutput) ToMethodResponseArrayOutputWithContext(ctx context.Context) MethodResponseArrayOutput
type MethodResponseInput ¶
type MethodResponseInput interface { pulumi.Input ToMethodResponseOutput() MethodResponseOutput ToMethodResponseOutputWithContext(context.Context) MethodResponseOutput }
MethodResponseInput is an input type that accepts MethodResponseArgs and MethodResponseOutput values. You can construct a concrete instance of `MethodResponseInput` via:
MethodResponseArgs{...}
type MethodResponseOutput ¶
type MethodResponseOutput struct{ *pulumi.OutputState }
Method represents a method of an API interface.
func (MethodResponseOutput) ElementType ¶
func (MethodResponseOutput) ElementType() reflect.Type
func (MethodResponseOutput) Name ¶
func (o MethodResponseOutput) Name() pulumi.StringOutput
The simple name of this method.
func (MethodResponseOutput) Options ¶
func (o MethodResponseOutput) Options() OptionResponseArrayOutput
Any metadata attached to the method.
func (MethodResponseOutput) RequestStreaming ¶
func (o MethodResponseOutput) RequestStreaming() pulumi.BoolOutput
If true, the request is streamed.
func (MethodResponseOutput) RequestTypeUrl ¶
func (o MethodResponseOutput) RequestTypeUrl() pulumi.StringOutput
A URL of the input message type.
func (MethodResponseOutput) ResponseStreaming ¶
func (o MethodResponseOutput) ResponseStreaming() pulumi.BoolOutput
If true, the response is streamed.
func (MethodResponseOutput) ResponseTypeUrl ¶
func (o MethodResponseOutput) ResponseTypeUrl() pulumi.StringOutput
The URL of the output message type.
func (MethodResponseOutput) Syntax ¶
func (o MethodResponseOutput) Syntax() pulumi.StringOutput
The source syntax of this method.
func (MethodResponseOutput) ToMethodResponseOutput ¶
func (o MethodResponseOutput) ToMethodResponseOutput() MethodResponseOutput
func (MethodResponseOutput) ToMethodResponseOutputWithContext ¶
func (o MethodResponseOutput) ToMethodResponseOutputWithContext(ctx context.Context) MethodResponseOutput
type MetricDescriptor ¶
type MetricDescriptor struct { // A detailed description of the metric, which can be used in documentation. Description *string `pulumi:"description"` // A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. DisplayName *string `pulumi:"displayName"` // The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. Labels []LabelDescriptor `pulumi:"labels"` // Optional. The launch stage of the metric definition. LaunchStage *string `pulumi:"launchStage"` // Optional. Metadata which can be used to guide usage of the metric. Metadata *MetricDescriptorMetadata `pulumi:"metadata"` // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. MetricKind *string `pulumi:"metricKind"` // Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. MonitoredResourceTypes []string `pulumi:"monitoredResourceTypes"` // The resource name of the metric descriptor. Name *string `pulumi:"name"` // The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies" Type *string `pulumi:"type"` // The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). Unit *string `pulumi:"unit"` // Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. ValueType *string `pulumi:"valueType"` }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
type MetricDescriptorArgs ¶
type MetricDescriptorArgs struct { // A detailed description of the metric, which can be used in documentation. Description pulumi.StringPtrInput `pulumi:"description"` // A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. Labels LabelDescriptorArrayInput `pulumi:"labels"` // Optional. The launch stage of the metric definition. LaunchStage pulumi.StringPtrInput `pulumi:"launchStage"` // Optional. Metadata which can be used to guide usage of the metric. Metadata MetricDescriptorMetadataPtrInput `pulumi:"metadata"` // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. MetricKind pulumi.StringPtrInput `pulumi:"metricKind"` // Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. MonitoredResourceTypes pulumi.StringArrayInput `pulumi:"monitoredResourceTypes"` // The resource name of the metric descriptor. Name pulumi.StringPtrInput `pulumi:"name"` // The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies" Type pulumi.StringPtrInput `pulumi:"type"` // The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). Unit pulumi.StringPtrInput `pulumi:"unit"` // Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. ValueType pulumi.StringPtrInput `pulumi:"valueType"` }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
func (MetricDescriptorArgs) ElementType ¶
func (MetricDescriptorArgs) ElementType() reflect.Type
func (MetricDescriptorArgs) ToMetricDescriptorOutput ¶
func (i MetricDescriptorArgs) ToMetricDescriptorOutput() MetricDescriptorOutput
func (MetricDescriptorArgs) ToMetricDescriptorOutputWithContext ¶
func (i MetricDescriptorArgs) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput
type MetricDescriptorArray ¶
type MetricDescriptorArray []MetricDescriptorInput
func (MetricDescriptorArray) ElementType ¶
func (MetricDescriptorArray) ElementType() reflect.Type
func (MetricDescriptorArray) ToMetricDescriptorArrayOutput ¶
func (i MetricDescriptorArray) ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput
func (MetricDescriptorArray) ToMetricDescriptorArrayOutputWithContext ¶
func (i MetricDescriptorArray) ToMetricDescriptorArrayOutputWithContext(ctx context.Context) MetricDescriptorArrayOutput
type MetricDescriptorArrayInput ¶
type MetricDescriptorArrayInput interface { pulumi.Input ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput ToMetricDescriptorArrayOutputWithContext(context.Context) MetricDescriptorArrayOutput }
MetricDescriptorArrayInput is an input type that accepts MetricDescriptorArray and MetricDescriptorArrayOutput values. You can construct a concrete instance of `MetricDescriptorArrayInput` via:
MetricDescriptorArray{ MetricDescriptorArgs{...} }
type MetricDescriptorArrayOutput ¶
type MetricDescriptorArrayOutput struct{ *pulumi.OutputState }
func (MetricDescriptorArrayOutput) ElementType ¶
func (MetricDescriptorArrayOutput) ElementType() reflect.Type
func (MetricDescriptorArrayOutput) Index ¶
func (o MetricDescriptorArrayOutput) Index(i pulumi.IntInput) MetricDescriptorOutput
func (MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutput ¶
func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput
func (MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext ¶
func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext(ctx context.Context) MetricDescriptorArrayOutput
type MetricDescriptorInput ¶
type MetricDescriptorInput interface { pulumi.Input ToMetricDescriptorOutput() MetricDescriptorOutput ToMetricDescriptorOutputWithContext(context.Context) MetricDescriptorOutput }
MetricDescriptorInput is an input type that accepts MetricDescriptorArgs and MetricDescriptorOutput values. You can construct a concrete instance of `MetricDescriptorInput` via:
MetricDescriptorArgs{...}
type MetricDescriptorMetadata ¶
type MetricDescriptorMetadata struct { // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. IngestDelay *string `pulumi:"ingestDelay"` // The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. SamplePeriod *string `pulumi:"samplePeriod"` }
Additional annotations that can be used to guide the usage of a metric.
type MetricDescriptorMetadataArgs ¶
type MetricDescriptorMetadataArgs struct { // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. IngestDelay pulumi.StringPtrInput `pulumi:"ingestDelay"` // The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. SamplePeriod pulumi.StringPtrInput `pulumi:"samplePeriod"` }
Additional annotations that can be used to guide the usage of a metric.
func (MetricDescriptorMetadataArgs) ElementType ¶
func (MetricDescriptorMetadataArgs) ElementType() reflect.Type
func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput ¶
func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext ¶
func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput
func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput ¶
func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext ¶
func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
type MetricDescriptorMetadataInput ¶
type MetricDescriptorMetadataInput interface { pulumi.Input ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput ToMetricDescriptorMetadataOutputWithContext(context.Context) MetricDescriptorMetadataOutput }
MetricDescriptorMetadataInput is an input type that accepts MetricDescriptorMetadataArgs and MetricDescriptorMetadataOutput values. You can construct a concrete instance of `MetricDescriptorMetadataInput` via:
MetricDescriptorMetadataArgs{...}
type MetricDescriptorMetadataOutput ¶
type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState }
Additional annotations that can be used to guide the usage of a metric.
func (MetricDescriptorMetadataOutput) ElementType ¶
func (MetricDescriptorMetadataOutput) ElementType() reflect.Type
func (MetricDescriptorMetadataOutput) IngestDelay ¶
func (o MetricDescriptorMetadataOutput) IngestDelay() pulumi.StringPtrOutput
The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
func (MetricDescriptorMetadataOutput) SamplePeriod ¶
func (o MetricDescriptorMetadataOutput) SamplePeriod() pulumi.StringPtrOutput
The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput ¶
func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext ¶
func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput
func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput ¶
func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext ¶
func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
type MetricDescriptorMetadataPtrInput ¶
type MetricDescriptorMetadataPtrInput interface { pulumi.Input ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput ToMetricDescriptorMetadataPtrOutputWithContext(context.Context) MetricDescriptorMetadataPtrOutput }
MetricDescriptorMetadataPtrInput is an input type that accepts MetricDescriptorMetadataArgs, MetricDescriptorMetadataPtr and MetricDescriptorMetadataPtrOutput values. You can construct a concrete instance of `MetricDescriptorMetadataPtrInput` via:
MetricDescriptorMetadataArgs{...} or: nil
func MetricDescriptorMetadataPtr ¶
func MetricDescriptorMetadataPtr(v *MetricDescriptorMetadataArgs) MetricDescriptorMetadataPtrInput
type MetricDescriptorMetadataPtrOutput ¶
type MetricDescriptorMetadataPtrOutput struct{ *pulumi.OutputState }
func (MetricDescriptorMetadataPtrOutput) Elem ¶
func (o MetricDescriptorMetadataPtrOutput) Elem() MetricDescriptorMetadataOutput
func (MetricDescriptorMetadataPtrOutput) ElementType ¶
func (MetricDescriptorMetadataPtrOutput) ElementType() reflect.Type
func (MetricDescriptorMetadataPtrOutput) IngestDelay ¶
func (o MetricDescriptorMetadataPtrOutput) IngestDelay() pulumi.StringPtrOutput
The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
func (MetricDescriptorMetadataPtrOutput) SamplePeriod ¶
func (o MetricDescriptorMetadataPtrOutput) SamplePeriod() pulumi.StringPtrOutput
The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput ¶
func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext ¶
func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput
type MetricDescriptorMetadataResponse ¶
type MetricDescriptorMetadataResponse struct { // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. IngestDelay string `pulumi:"ingestDelay"` // The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. SamplePeriod string `pulumi:"samplePeriod"` }
Additional annotations that can be used to guide the usage of a metric.
type MetricDescriptorMetadataResponseArgs ¶
type MetricDescriptorMetadataResponseArgs struct { // The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. IngestDelay pulumi.StringInput `pulumi:"ingestDelay"` // The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. SamplePeriod pulumi.StringInput `pulumi:"samplePeriod"` }
Additional annotations that can be used to guide the usage of a metric.
func (MetricDescriptorMetadataResponseArgs) ElementType ¶
func (MetricDescriptorMetadataResponseArgs) ElementType() reflect.Type
func (MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutput ¶
func (i MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput
func (MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutputWithContext ¶
func (i MetricDescriptorMetadataResponseArgs) ToMetricDescriptorMetadataResponseOutputWithContext(ctx context.Context) MetricDescriptorMetadataResponseOutput
type MetricDescriptorMetadataResponseInput ¶
type MetricDescriptorMetadataResponseInput interface { pulumi.Input ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput ToMetricDescriptorMetadataResponseOutputWithContext(context.Context) MetricDescriptorMetadataResponseOutput }
MetricDescriptorMetadataResponseInput is an input type that accepts MetricDescriptorMetadataResponseArgs and MetricDescriptorMetadataResponseOutput values. You can construct a concrete instance of `MetricDescriptorMetadataResponseInput` via:
MetricDescriptorMetadataResponseArgs{...}
type MetricDescriptorMetadataResponseOutput ¶
type MetricDescriptorMetadataResponseOutput struct{ *pulumi.OutputState }
Additional annotations that can be used to guide the usage of a metric.
func (MetricDescriptorMetadataResponseOutput) ElementType ¶
func (MetricDescriptorMetadataResponseOutput) ElementType() reflect.Type
func (MetricDescriptorMetadataResponseOutput) IngestDelay ¶
func (o MetricDescriptorMetadataResponseOutput) IngestDelay() pulumi.StringOutput
The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors.
func (MetricDescriptorMetadataResponseOutput) SamplePeriod ¶
func (o MetricDescriptorMetadataResponseOutput) SamplePeriod() pulumi.StringOutput
The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period.
func (MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutput ¶
func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutput() MetricDescriptorMetadataResponseOutput
func (MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutputWithContext ¶
func (o MetricDescriptorMetadataResponseOutput) ToMetricDescriptorMetadataResponseOutputWithContext(ctx context.Context) MetricDescriptorMetadataResponseOutput
type MetricDescriptorOutput ¶
type MetricDescriptorOutput struct{ *pulumi.OutputState }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
func (MetricDescriptorOutput) Description ¶
func (o MetricDescriptorOutput) Description() pulumi.StringPtrOutput
A detailed description of the metric, which can be used in documentation.
func (MetricDescriptorOutput) DisplayName ¶
func (o MetricDescriptorOutput) DisplayName() pulumi.StringPtrOutput
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
func (MetricDescriptorOutput) ElementType ¶
func (MetricDescriptorOutput) ElementType() reflect.Type
func (MetricDescriptorOutput) Labels ¶
func (o MetricDescriptorOutput) Labels() LabelDescriptorArrayOutput
The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.
func (MetricDescriptorOutput) LaunchStage ¶
func (o MetricDescriptorOutput) LaunchStage() pulumi.StringPtrOutput
Optional. The launch stage of the metric definition.
func (MetricDescriptorOutput) Metadata ¶
func (o MetricDescriptorOutput) Metadata() MetricDescriptorMetadataPtrOutput
Optional. Metadata which can be used to guide usage of the metric.
func (MetricDescriptorOutput) MetricKind ¶
func (o MetricDescriptorOutput) MetricKind() pulumi.StringPtrOutput
Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.
func (MetricDescriptorOutput) MonitoredResourceTypes ¶
func (o MetricDescriptorOutput) MonitoredResourceTypes() pulumi.StringArrayOutput
Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
func (MetricDescriptorOutput) Name ¶
func (o MetricDescriptorOutput) Name() pulumi.StringPtrOutput
The resource name of the metric descriptor.
func (MetricDescriptorOutput) ToMetricDescriptorOutput ¶
func (o MetricDescriptorOutput) ToMetricDescriptorOutput() MetricDescriptorOutput
func (MetricDescriptorOutput) ToMetricDescriptorOutputWithContext ¶
func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput
func (MetricDescriptorOutput) Type ¶
func (o MetricDescriptorOutput) Type() pulumi.StringPtrOutput
The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
func (MetricDescriptorOutput) Unit ¶
func (o MetricDescriptorOutput) Unit() pulumi.StringPtrOutput
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent").
func (MetricDescriptorOutput) ValueType ¶
func (o MetricDescriptorOutput) ValueType() pulumi.StringPtrOutput
Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.
type MetricDescriptorResponse ¶
type MetricDescriptorResponse struct { // A detailed description of the metric, which can be used in documentation. Description string `pulumi:"description"` // A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. DisplayName string `pulumi:"displayName"` // The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. Labels []LabelDescriptorResponse `pulumi:"labels"` // Optional. The launch stage of the metric definition. LaunchStage string `pulumi:"launchStage"` // Optional. Metadata which can be used to guide usage of the metric. Metadata MetricDescriptorMetadataResponse `pulumi:"metadata"` // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. MetricKind string `pulumi:"metricKind"` // Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. MonitoredResourceTypes []string `pulumi:"monitoredResourceTypes"` // The resource name of the metric descriptor. Name string `pulumi:"name"` // The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies" Type string `pulumi:"type"` // The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). Unit string `pulumi:"unit"` // Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. ValueType string `pulumi:"valueType"` }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
type MetricDescriptorResponseArgs ¶
type MetricDescriptorResponseArgs struct { // A detailed description of the metric, which can be used in documentation. Description pulumi.StringInput `pulumi:"description"` // A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. DisplayName pulumi.StringInput `pulumi:"displayName"` // The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed. Labels LabelDescriptorResponseArrayInput `pulumi:"labels"` // Optional. The launch stage of the metric definition. LaunchStage pulumi.StringInput `pulumi:"launchStage"` // Optional. Metadata which can be used to guide usage of the metric. Metadata MetricDescriptorMetadataResponseInput `pulumi:"metadata"` // Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported. MetricKind pulumi.StringInput `pulumi:"metricKind"` // Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. MonitoredResourceTypes pulumi.StringArrayInput `pulumi:"monitoredResourceTypes"` // The resource name of the metric descriptor. Name pulumi.StringInput `pulumi:"name"` // The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies" Type pulumi.StringInput `pulumi:"type"` // The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent"). Unit pulumi.StringInput `pulumi:"unit"` // Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported. ValueType pulumi.StringInput `pulumi:"valueType"` }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
func (MetricDescriptorResponseArgs) ElementType ¶
func (MetricDescriptorResponseArgs) ElementType() reflect.Type
func (MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutput ¶
func (i MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput
func (MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutputWithContext ¶
func (i MetricDescriptorResponseArgs) ToMetricDescriptorResponseOutputWithContext(ctx context.Context) MetricDescriptorResponseOutput
type MetricDescriptorResponseArray ¶
type MetricDescriptorResponseArray []MetricDescriptorResponseInput
func (MetricDescriptorResponseArray) ElementType ¶
func (MetricDescriptorResponseArray) ElementType() reflect.Type
func (MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutput ¶
func (i MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutput() MetricDescriptorResponseArrayOutput
func (MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutputWithContext ¶
func (i MetricDescriptorResponseArray) ToMetricDescriptorResponseArrayOutputWithContext(ctx context.Context) MetricDescriptorResponseArrayOutput
type MetricDescriptorResponseArrayInput ¶
type MetricDescriptorResponseArrayInput interface { pulumi.Input ToMetricDescriptorResponseArrayOutput() MetricDescriptorResponseArrayOutput ToMetricDescriptorResponseArrayOutputWithContext(context.Context) MetricDescriptorResponseArrayOutput }
MetricDescriptorResponseArrayInput is an input type that accepts MetricDescriptorResponseArray and MetricDescriptorResponseArrayOutput values. You can construct a concrete instance of `MetricDescriptorResponseArrayInput` via:
MetricDescriptorResponseArray{ MetricDescriptorResponseArgs{...} }
type MetricDescriptorResponseArrayOutput ¶
type MetricDescriptorResponseArrayOutput struct{ *pulumi.OutputState }
func (MetricDescriptorResponseArrayOutput) ElementType ¶
func (MetricDescriptorResponseArrayOutput) ElementType() reflect.Type
func (MetricDescriptorResponseArrayOutput) Index ¶
func (o MetricDescriptorResponseArrayOutput) Index(i pulumi.IntInput) MetricDescriptorResponseOutput
func (MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutput ¶
func (o MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutput() MetricDescriptorResponseArrayOutput
func (MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutputWithContext ¶
func (o MetricDescriptorResponseArrayOutput) ToMetricDescriptorResponseArrayOutputWithContext(ctx context.Context) MetricDescriptorResponseArrayOutput
type MetricDescriptorResponseInput ¶
type MetricDescriptorResponseInput interface { pulumi.Input ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput ToMetricDescriptorResponseOutputWithContext(context.Context) MetricDescriptorResponseOutput }
MetricDescriptorResponseInput is an input type that accepts MetricDescriptorResponseArgs and MetricDescriptorResponseOutput values. You can construct a concrete instance of `MetricDescriptorResponseInput` via:
MetricDescriptorResponseArgs{...}
type MetricDescriptorResponseOutput ¶
type MetricDescriptorResponseOutput struct{ *pulumi.OutputState }
Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.
func (MetricDescriptorResponseOutput) Description ¶
func (o MetricDescriptorResponseOutput) Description() pulumi.StringOutput
A detailed description of the metric, which can be used in documentation.
func (MetricDescriptorResponseOutput) DisplayName ¶
func (o MetricDescriptorResponseOutput) DisplayName() pulumi.StringOutput
A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota.
func (MetricDescriptorResponseOutput) ElementType ¶
func (MetricDescriptorResponseOutput) ElementType() reflect.Type
func (MetricDescriptorResponseOutput) Labels ¶
func (o MetricDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
The set of labels that can be used to describe a specific instance of this metric type. For example, the `appengine.googleapis.com/http/server/response_latencies` metric type has a label for the HTTP response code, `response_code`, so you can look at latencies for successful responses or just for responses that failed.
func (MetricDescriptorResponseOutput) LaunchStage ¶
func (o MetricDescriptorResponseOutput) LaunchStage() pulumi.StringOutput
Optional. The launch stage of the metric definition.
func (MetricDescriptorResponseOutput) Metadata ¶
func (o MetricDescriptorResponseOutput) Metadata() MetricDescriptorMetadataResponseOutput
Optional. Metadata which can be used to guide usage of the metric.
func (MetricDescriptorResponseOutput) MetricKind ¶
func (o MetricDescriptorResponseOutput) MetricKind() pulumi.StringOutput
Whether the metric records instantaneous values, changes to a value, etc. Some combinations of `metric_kind` and `value_type` might not be supported.
func (MetricDescriptorResponseOutput) MonitoredResourceTypes ¶
func (o MetricDescriptorResponseOutput) MonitoredResourceTypes() pulumi.StringArrayOutput
Read-only. If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here.
func (MetricDescriptorResponseOutput) Name ¶
func (o MetricDescriptorResponseOutput) Name() pulumi.StringOutput
The resource name of the metric descriptor.
func (MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutput ¶
func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutput() MetricDescriptorResponseOutput
func (MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithContext ¶
func (o MetricDescriptorResponseOutput) ToMetricDescriptorResponseOutputWithContext(ctx context.Context) MetricDescriptorResponseOutput
func (MetricDescriptorResponseOutput) Type ¶
func (o MetricDescriptorResponseOutput) Type() pulumi.StringOutput
The metric type, including its DNS name prefix. The type is not URL-encoded. All user-defined metric types have the DNS name `custom.googleapis.com` or `external.googleapis.com`. Metric types should use a natural hierarchical grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/response_latencies"
func (MetricDescriptorResponseOutput) Unit ¶
func (o MetricDescriptorResponseOutput) Unit() pulumi.StringOutput
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values. Different systems might scale the values to be more easily displayed (so a value of `0.02kBy` _might_ be displayed as `20By`, and a value of `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is `kBy`, then the value of the metric is always in thousands of bytes, no matter how it might be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written as `12005`. Alternatively, if you want a custom metric to record data in a more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). The supported units are a subset of [The Unified Code for Units of Measure](https://unitsofmeasure.org/ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s` second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/{email}` or `MiBy/10ms` (although you should almost never have `/s` in a metric `unit`; rates should always be computed at query time from the underlying cumulative or delta value). * `.` multiplication or composition (as an infix operator). For examples, `GBy.d` or `k{watt}.h`. The grammar for a unit is as follows: Expression = Component { "." Component } { "/" Component } ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ; Annotation = "{" NAME "}" ; Notes: * `Annotation` is just a comment if it follows a `UNIT`. If the annotation is used alone, then the unit is equivalent to `1`. For examples, `{request}/s == 1/s`, `By{transmitted}/s == By/s`. * `NAME` is a sequence of non-blank printable ASCII characters not containing `{` or `}`. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used when none of the basic units are appropriate. For example, "new users per day" can be represented as `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new users). Alternatively, "thousands of page views per day" would be represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric value of `5.3` would mean "5300 page views per day"). * `%` represents dimensionless value of 1/100, and annotates values giving a percentage (so the metric values are typically in the range of 0..100, and a metric value `3` means "3 percent"). * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1, that will be multiplied by 100 and displayed as a percentage (so a metric value `0.03` means "3 percent").
func (MetricDescriptorResponseOutput) ValueType ¶
func (o MetricDescriptorResponseOutput) ValueType() pulumi.StringOutput
Whether the measurement is an integer, a floating-point number, etc. Some combinations of `metric_kind` and `value_type` might not be supported.
type MetricRule ¶
type MetricRule struct { // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. MetricCosts map[string]string `pulumi:"metricCosts"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
type MetricRuleArgs ¶
type MetricRuleArgs struct { // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. MetricCosts pulumi.StringMapInput `pulumi:"metricCosts"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
func (MetricRuleArgs) ElementType ¶
func (MetricRuleArgs) ElementType() reflect.Type
func (MetricRuleArgs) ToMetricRuleOutput ¶
func (i MetricRuleArgs) ToMetricRuleOutput() MetricRuleOutput
func (MetricRuleArgs) ToMetricRuleOutputWithContext ¶
func (i MetricRuleArgs) ToMetricRuleOutputWithContext(ctx context.Context) MetricRuleOutput
type MetricRuleArray ¶
type MetricRuleArray []MetricRuleInput
func (MetricRuleArray) ElementType ¶
func (MetricRuleArray) ElementType() reflect.Type
func (MetricRuleArray) ToMetricRuleArrayOutput ¶
func (i MetricRuleArray) ToMetricRuleArrayOutput() MetricRuleArrayOutput
func (MetricRuleArray) ToMetricRuleArrayOutputWithContext ¶
func (i MetricRuleArray) ToMetricRuleArrayOutputWithContext(ctx context.Context) MetricRuleArrayOutput
type MetricRuleArrayInput ¶
type MetricRuleArrayInput interface { pulumi.Input ToMetricRuleArrayOutput() MetricRuleArrayOutput ToMetricRuleArrayOutputWithContext(context.Context) MetricRuleArrayOutput }
MetricRuleArrayInput is an input type that accepts MetricRuleArray and MetricRuleArrayOutput values. You can construct a concrete instance of `MetricRuleArrayInput` via:
MetricRuleArray{ MetricRuleArgs{...} }
type MetricRuleArrayOutput ¶
type MetricRuleArrayOutput struct{ *pulumi.OutputState }
func (MetricRuleArrayOutput) ElementType ¶
func (MetricRuleArrayOutput) ElementType() reflect.Type
func (MetricRuleArrayOutput) Index ¶
func (o MetricRuleArrayOutput) Index(i pulumi.IntInput) MetricRuleOutput
func (MetricRuleArrayOutput) ToMetricRuleArrayOutput ¶
func (o MetricRuleArrayOutput) ToMetricRuleArrayOutput() MetricRuleArrayOutput
func (MetricRuleArrayOutput) ToMetricRuleArrayOutputWithContext ¶
func (o MetricRuleArrayOutput) ToMetricRuleArrayOutputWithContext(ctx context.Context) MetricRuleArrayOutput
type MetricRuleInput ¶
type MetricRuleInput interface { pulumi.Input ToMetricRuleOutput() MetricRuleOutput ToMetricRuleOutputWithContext(context.Context) MetricRuleOutput }
MetricRuleInput is an input type that accepts MetricRuleArgs and MetricRuleOutput values. You can construct a concrete instance of `MetricRuleInput` via:
MetricRuleArgs{...}
type MetricRuleOutput ¶
type MetricRuleOutput struct{ *pulumi.OutputState }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
func (MetricRuleOutput) ElementType ¶
func (MetricRuleOutput) ElementType() reflect.Type
func (MetricRuleOutput) MetricCosts ¶
func (o MetricRuleOutput) MetricCosts() pulumi.StringMapOutput
Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
func (MetricRuleOutput) Selector ¶
func (o MetricRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (MetricRuleOutput) ToMetricRuleOutput ¶
func (o MetricRuleOutput) ToMetricRuleOutput() MetricRuleOutput
func (MetricRuleOutput) ToMetricRuleOutputWithContext ¶
func (o MetricRuleOutput) ToMetricRuleOutputWithContext(ctx context.Context) MetricRuleOutput
type MetricRuleResponse ¶
type MetricRuleResponse struct { // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. MetricCosts map[string]string `pulumi:"metricCosts"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
type MetricRuleResponseArgs ¶
type MetricRuleResponseArgs struct { // Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative. MetricCosts pulumi.StringMapInput `pulumi:"metricCosts"` // Selects the methods to which this rule applies. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
func (MetricRuleResponseArgs) ElementType ¶
func (MetricRuleResponseArgs) ElementType() reflect.Type
func (MetricRuleResponseArgs) ToMetricRuleResponseOutput ¶
func (i MetricRuleResponseArgs) ToMetricRuleResponseOutput() MetricRuleResponseOutput
func (MetricRuleResponseArgs) ToMetricRuleResponseOutputWithContext ¶
func (i MetricRuleResponseArgs) ToMetricRuleResponseOutputWithContext(ctx context.Context) MetricRuleResponseOutput
type MetricRuleResponseArray ¶
type MetricRuleResponseArray []MetricRuleResponseInput
func (MetricRuleResponseArray) ElementType ¶
func (MetricRuleResponseArray) ElementType() reflect.Type
func (MetricRuleResponseArray) ToMetricRuleResponseArrayOutput ¶
func (i MetricRuleResponseArray) ToMetricRuleResponseArrayOutput() MetricRuleResponseArrayOutput
func (MetricRuleResponseArray) ToMetricRuleResponseArrayOutputWithContext ¶
func (i MetricRuleResponseArray) ToMetricRuleResponseArrayOutputWithContext(ctx context.Context) MetricRuleResponseArrayOutput
type MetricRuleResponseArrayInput ¶
type MetricRuleResponseArrayInput interface { pulumi.Input ToMetricRuleResponseArrayOutput() MetricRuleResponseArrayOutput ToMetricRuleResponseArrayOutputWithContext(context.Context) MetricRuleResponseArrayOutput }
MetricRuleResponseArrayInput is an input type that accepts MetricRuleResponseArray and MetricRuleResponseArrayOutput values. You can construct a concrete instance of `MetricRuleResponseArrayInput` via:
MetricRuleResponseArray{ MetricRuleResponseArgs{...} }
type MetricRuleResponseArrayOutput ¶
type MetricRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (MetricRuleResponseArrayOutput) ElementType ¶
func (MetricRuleResponseArrayOutput) ElementType() reflect.Type
func (MetricRuleResponseArrayOutput) Index ¶
func (o MetricRuleResponseArrayOutput) Index(i pulumi.IntInput) MetricRuleResponseOutput
func (MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutput ¶
func (o MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutput() MetricRuleResponseArrayOutput
func (MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutputWithContext ¶
func (o MetricRuleResponseArrayOutput) ToMetricRuleResponseArrayOutputWithContext(ctx context.Context) MetricRuleResponseArrayOutput
type MetricRuleResponseInput ¶
type MetricRuleResponseInput interface { pulumi.Input ToMetricRuleResponseOutput() MetricRuleResponseOutput ToMetricRuleResponseOutputWithContext(context.Context) MetricRuleResponseOutput }
MetricRuleResponseInput is an input type that accepts MetricRuleResponseArgs and MetricRuleResponseOutput values. You can construct a concrete instance of `MetricRuleResponseInput` via:
MetricRuleResponseArgs{...}
type MetricRuleResponseOutput ¶
type MetricRuleResponseOutput struct{ *pulumi.OutputState }
Bind API methods to metrics. Binding a method to a metric causes that metric's configured quota behaviors to apply to the method call.
func (MetricRuleResponseOutput) ElementType ¶
func (MetricRuleResponseOutput) ElementType() reflect.Type
func (MetricRuleResponseOutput) MetricCosts ¶
func (o MetricRuleResponseOutput) MetricCosts() pulumi.StringMapOutput
Metrics to update when the selected methods are called, and the associated cost applied to each metric. The key of the map is the metric name, and the values are the amount increased for the metric against which the quota limits are defined. The value must not be negative.
func (MetricRuleResponseOutput) Selector ¶
func (o MetricRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Refer to selector for syntax details.
func (MetricRuleResponseOutput) ToMetricRuleResponseOutput ¶
func (o MetricRuleResponseOutput) ToMetricRuleResponseOutput() MetricRuleResponseOutput
func (MetricRuleResponseOutput) ToMetricRuleResponseOutputWithContext ¶
func (o MetricRuleResponseOutput) ToMetricRuleResponseOutputWithContext(ctx context.Context) MetricRuleResponseOutput
type Mixin ¶
type Mixin struct { // The fully qualified name of the interface which is included. Name *string `pulumi:"name"` // If non-empty specifies a path under which inherited HTTP paths are rooted. Root *string `pulumi:"root"` }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
type MixinArgs ¶
type MixinArgs struct { // The fully qualified name of the interface which is included. Name pulumi.StringPtrInput `pulumi:"name"` // If non-empty specifies a path under which inherited HTTP paths are rooted. Root pulumi.StringPtrInput `pulumi:"root"` }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
func (MixinArgs) ElementType ¶
func (MixinArgs) ToMixinOutput ¶
func (i MixinArgs) ToMixinOutput() MixinOutput
func (MixinArgs) ToMixinOutputWithContext ¶
func (i MixinArgs) ToMixinOutputWithContext(ctx context.Context) MixinOutput
type MixinArray ¶
type MixinArray []MixinInput
func (MixinArray) ElementType ¶
func (MixinArray) ElementType() reflect.Type
func (MixinArray) ToMixinArrayOutput ¶
func (i MixinArray) ToMixinArrayOutput() MixinArrayOutput
func (MixinArray) ToMixinArrayOutputWithContext ¶
func (i MixinArray) ToMixinArrayOutputWithContext(ctx context.Context) MixinArrayOutput
type MixinArrayInput ¶
type MixinArrayInput interface { pulumi.Input ToMixinArrayOutput() MixinArrayOutput ToMixinArrayOutputWithContext(context.Context) MixinArrayOutput }
MixinArrayInput is an input type that accepts MixinArray and MixinArrayOutput values. You can construct a concrete instance of `MixinArrayInput` via:
MixinArray{ MixinArgs{...} }
type MixinArrayOutput ¶
type MixinArrayOutput struct{ *pulumi.OutputState }
func (MixinArrayOutput) ElementType ¶
func (MixinArrayOutput) ElementType() reflect.Type
func (MixinArrayOutput) Index ¶
func (o MixinArrayOutput) Index(i pulumi.IntInput) MixinOutput
func (MixinArrayOutput) ToMixinArrayOutput ¶
func (o MixinArrayOutput) ToMixinArrayOutput() MixinArrayOutput
func (MixinArrayOutput) ToMixinArrayOutputWithContext ¶
func (o MixinArrayOutput) ToMixinArrayOutputWithContext(ctx context.Context) MixinArrayOutput
type MixinInput ¶
type MixinInput interface { pulumi.Input ToMixinOutput() MixinOutput ToMixinOutputWithContext(context.Context) MixinOutput }
MixinInput is an input type that accepts MixinArgs and MixinOutput values. You can construct a concrete instance of `MixinInput` via:
MixinArgs{...}
type MixinOutput ¶
type MixinOutput struct{ *pulumi.OutputState }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
func (MixinOutput) ElementType ¶
func (MixinOutput) ElementType() reflect.Type
func (MixinOutput) Name ¶
func (o MixinOutput) Name() pulumi.StringPtrOutput
The fully qualified name of the interface which is included.
func (MixinOutput) Root ¶
func (o MixinOutput) Root() pulumi.StringPtrOutput
If non-empty specifies a path under which inherited HTTP paths are rooted.
func (MixinOutput) ToMixinOutput ¶
func (o MixinOutput) ToMixinOutput() MixinOutput
func (MixinOutput) ToMixinOutputWithContext ¶
func (o MixinOutput) ToMixinOutputWithContext(ctx context.Context) MixinOutput
type MixinResponse ¶
type MixinResponse struct { // The fully qualified name of the interface which is included. Name string `pulumi:"name"` // If non-empty specifies a path under which inherited HTTP paths are rooted. Root string `pulumi:"root"` }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
type MixinResponseArgs ¶
type MixinResponseArgs struct { // The fully qualified name of the interface which is included. Name pulumi.StringInput `pulumi:"name"` // If non-empty specifies a path under which inherited HTTP paths are rooted. Root pulumi.StringInput `pulumi:"root"` }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
func (MixinResponseArgs) ElementType ¶
func (MixinResponseArgs) ElementType() reflect.Type
func (MixinResponseArgs) ToMixinResponseOutput ¶
func (i MixinResponseArgs) ToMixinResponseOutput() MixinResponseOutput
func (MixinResponseArgs) ToMixinResponseOutputWithContext ¶
func (i MixinResponseArgs) ToMixinResponseOutputWithContext(ctx context.Context) MixinResponseOutput
type MixinResponseArray ¶
type MixinResponseArray []MixinResponseInput
func (MixinResponseArray) ElementType ¶
func (MixinResponseArray) ElementType() reflect.Type
func (MixinResponseArray) ToMixinResponseArrayOutput ¶
func (i MixinResponseArray) ToMixinResponseArrayOutput() MixinResponseArrayOutput
func (MixinResponseArray) ToMixinResponseArrayOutputWithContext ¶
func (i MixinResponseArray) ToMixinResponseArrayOutputWithContext(ctx context.Context) MixinResponseArrayOutput
type MixinResponseArrayInput ¶
type MixinResponseArrayInput interface { pulumi.Input ToMixinResponseArrayOutput() MixinResponseArrayOutput ToMixinResponseArrayOutputWithContext(context.Context) MixinResponseArrayOutput }
MixinResponseArrayInput is an input type that accepts MixinResponseArray and MixinResponseArrayOutput values. You can construct a concrete instance of `MixinResponseArrayInput` via:
MixinResponseArray{ MixinResponseArgs{...} }
type MixinResponseArrayOutput ¶
type MixinResponseArrayOutput struct{ *pulumi.OutputState }
func (MixinResponseArrayOutput) ElementType ¶
func (MixinResponseArrayOutput) ElementType() reflect.Type
func (MixinResponseArrayOutput) Index ¶
func (o MixinResponseArrayOutput) Index(i pulumi.IntInput) MixinResponseOutput
func (MixinResponseArrayOutput) ToMixinResponseArrayOutput ¶
func (o MixinResponseArrayOutput) ToMixinResponseArrayOutput() MixinResponseArrayOutput
func (MixinResponseArrayOutput) ToMixinResponseArrayOutputWithContext ¶
func (o MixinResponseArrayOutput) ToMixinResponseArrayOutputWithContext(ctx context.Context) MixinResponseArrayOutput
type MixinResponseInput ¶
type MixinResponseInput interface { pulumi.Input ToMixinResponseOutput() MixinResponseOutput ToMixinResponseOutputWithContext(context.Context) MixinResponseOutput }
MixinResponseInput is an input type that accepts MixinResponseArgs and MixinResponseOutput values. You can construct a concrete instance of `MixinResponseInput` via:
MixinResponseArgs{...}
type MixinResponseOutput ¶
type MixinResponseOutput struct{ *pulumi.OutputState }
Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the root path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { // rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }
func (MixinResponseOutput) ElementType ¶
func (MixinResponseOutput) ElementType() reflect.Type
func (MixinResponseOutput) Name ¶
func (o MixinResponseOutput) Name() pulumi.StringOutput
The fully qualified name of the interface which is included.
func (MixinResponseOutput) Root ¶
func (o MixinResponseOutput) Root() pulumi.StringOutput
If non-empty specifies a path under which inherited HTTP paths are rooted.
func (MixinResponseOutput) ToMixinResponseOutput ¶
func (o MixinResponseOutput) ToMixinResponseOutput() MixinResponseOutput
func (MixinResponseOutput) ToMixinResponseOutputWithContext ¶
func (o MixinResponseOutput) ToMixinResponseOutputWithContext(ctx context.Context) MixinResponseOutput
type MonitoredResourceDescriptor ¶
type MonitoredResourceDescriptor struct { // Optional. A detailed description of the monitored resource type that might be used in documentation. Description *string `pulumi:"description"` // Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`. DisplayName *string `pulumi:"displayName"` // Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`. Labels []LabelDescriptor `pulumi:"labels"` // Optional. The launch stage of the monitored resource definition. LaunchStage *string `pulumi:"launchStage"` // Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`. Name *string `pulumi:"name"` // Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. Type *string `pulumi:"type"` }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
type MonitoredResourceDescriptorArgs ¶
type MonitoredResourceDescriptorArgs struct { // Optional. A detailed description of the monitored resource type that might be used in documentation. Description pulumi.StringPtrInput `pulumi:"description"` // Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`. Labels LabelDescriptorArrayInput `pulumi:"labels"` // Optional. The launch stage of the monitored resource definition. LaunchStage pulumi.StringPtrInput `pulumi:"launchStage"` // Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`. Name pulumi.StringPtrInput `pulumi:"name"` // Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. Type pulumi.StringPtrInput `pulumi:"type"` }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
func (MonitoredResourceDescriptorArgs) ElementType ¶
func (MonitoredResourceDescriptorArgs) ElementType() reflect.Type
func (MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutput ¶
func (i MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutput() MonitoredResourceDescriptorOutput
func (MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutputWithContext ¶
func (i MonitoredResourceDescriptorArgs) ToMonitoredResourceDescriptorOutputWithContext(ctx context.Context) MonitoredResourceDescriptorOutput
type MonitoredResourceDescriptorArray ¶
type MonitoredResourceDescriptorArray []MonitoredResourceDescriptorInput
func (MonitoredResourceDescriptorArray) ElementType ¶
func (MonitoredResourceDescriptorArray) ElementType() reflect.Type
func (MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutput ¶
func (i MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutput() MonitoredResourceDescriptorArrayOutput
func (MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutputWithContext ¶
func (i MonitoredResourceDescriptorArray) ToMonitoredResourceDescriptorArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorArrayOutput
type MonitoredResourceDescriptorArrayInput ¶
type MonitoredResourceDescriptorArrayInput interface { pulumi.Input ToMonitoredResourceDescriptorArrayOutput() MonitoredResourceDescriptorArrayOutput ToMonitoredResourceDescriptorArrayOutputWithContext(context.Context) MonitoredResourceDescriptorArrayOutput }
MonitoredResourceDescriptorArrayInput is an input type that accepts MonitoredResourceDescriptorArray and MonitoredResourceDescriptorArrayOutput values. You can construct a concrete instance of `MonitoredResourceDescriptorArrayInput` via:
MonitoredResourceDescriptorArray{ MonitoredResourceDescriptorArgs{...} }
type MonitoredResourceDescriptorArrayOutput ¶
type MonitoredResourceDescriptorArrayOutput struct{ *pulumi.OutputState }
func (MonitoredResourceDescriptorArrayOutput) ElementType ¶
func (MonitoredResourceDescriptorArrayOutput) ElementType() reflect.Type
func (MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutput ¶
func (o MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutput() MonitoredResourceDescriptorArrayOutput
func (MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutputWithContext ¶
func (o MonitoredResourceDescriptorArrayOutput) ToMonitoredResourceDescriptorArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorArrayOutput
type MonitoredResourceDescriptorInput ¶
type MonitoredResourceDescriptorInput interface { pulumi.Input ToMonitoredResourceDescriptorOutput() MonitoredResourceDescriptorOutput ToMonitoredResourceDescriptorOutputWithContext(context.Context) MonitoredResourceDescriptorOutput }
MonitoredResourceDescriptorInput is an input type that accepts MonitoredResourceDescriptorArgs and MonitoredResourceDescriptorOutput values. You can construct a concrete instance of `MonitoredResourceDescriptorInput` via:
MonitoredResourceDescriptorArgs{...}
type MonitoredResourceDescriptorOutput ¶
type MonitoredResourceDescriptorOutput struct{ *pulumi.OutputState }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
func (MonitoredResourceDescriptorOutput) Description ¶
func (o MonitoredResourceDescriptorOutput) Description() pulumi.StringPtrOutput
Optional. A detailed description of the monitored resource type that might be used in documentation.
func (MonitoredResourceDescriptorOutput) DisplayName ¶
func (o MonitoredResourceDescriptorOutput) DisplayName() pulumi.StringPtrOutput
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`.
func (MonitoredResourceDescriptorOutput) ElementType ¶
func (MonitoredResourceDescriptorOutput) ElementType() reflect.Type
func (MonitoredResourceDescriptorOutput) Labels ¶
func (o MonitoredResourceDescriptorOutput) Labels() LabelDescriptorArrayOutput
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
func (MonitoredResourceDescriptorOutput) LaunchStage ¶
func (o MonitoredResourceDescriptorOutput) LaunchStage() pulumi.StringPtrOutput
Optional. The launch stage of the monitored resource definition.
func (MonitoredResourceDescriptorOutput) Name ¶
func (o MonitoredResourceDescriptorOutput) Name() pulumi.StringPtrOutput
Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`.
func (MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutput ¶
func (o MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutput() MonitoredResourceDescriptorOutput
func (MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutputWithContext ¶
func (o MonitoredResourceDescriptorOutput) ToMonitoredResourceDescriptorOutputWithContext(ctx context.Context) MonitoredResourceDescriptorOutput
func (MonitoredResourceDescriptorOutput) Type ¶
func (o MonitoredResourceDescriptorOutput) Type() pulumi.StringPtrOutput
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
type MonitoredResourceDescriptorResponse ¶
type MonitoredResourceDescriptorResponse struct { // Optional. A detailed description of the monitored resource type that might be used in documentation. Description string `pulumi:"description"` // Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`. DisplayName string `pulumi:"displayName"` // Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`. Labels []LabelDescriptorResponse `pulumi:"labels"` // Optional. The launch stage of the monitored resource definition. LaunchStage string `pulumi:"launchStage"` // Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`. Name string `pulumi:"name"` // Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. Type string `pulumi:"type"` }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
type MonitoredResourceDescriptorResponseArgs ¶
type MonitoredResourceDescriptorResponseArgs struct { // Optional. A detailed description of the monitored resource type that might be used in documentation. Description pulumi.StringInput `pulumi:"description"` // Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`. DisplayName pulumi.StringInput `pulumi:"displayName"` // Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`. Labels LabelDescriptorResponseArrayInput `pulumi:"labels"` // Optional. The launch stage of the monitored resource definition. LaunchStage pulumi.StringInput `pulumi:"launchStage"` // Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`. Name pulumi.StringInput `pulumi:"name"` // Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL. Type pulumi.StringInput `pulumi:"type"` }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
func (MonitoredResourceDescriptorResponseArgs) ElementType ¶
func (MonitoredResourceDescriptorResponseArgs) ElementType() reflect.Type
func (MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutput ¶
func (i MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutput() MonitoredResourceDescriptorResponseOutput
func (MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutputWithContext ¶
func (i MonitoredResourceDescriptorResponseArgs) ToMonitoredResourceDescriptorResponseOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseOutput
type MonitoredResourceDescriptorResponseArray ¶
type MonitoredResourceDescriptorResponseArray []MonitoredResourceDescriptorResponseInput
func (MonitoredResourceDescriptorResponseArray) ElementType ¶
func (MonitoredResourceDescriptorResponseArray) ElementType() reflect.Type
func (MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutput ¶
func (i MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutput() MonitoredResourceDescriptorResponseArrayOutput
func (MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutputWithContext ¶
func (i MonitoredResourceDescriptorResponseArray) ToMonitoredResourceDescriptorResponseArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseArrayOutput
type MonitoredResourceDescriptorResponseArrayInput ¶
type MonitoredResourceDescriptorResponseArrayInput interface { pulumi.Input ToMonitoredResourceDescriptorResponseArrayOutput() MonitoredResourceDescriptorResponseArrayOutput ToMonitoredResourceDescriptorResponseArrayOutputWithContext(context.Context) MonitoredResourceDescriptorResponseArrayOutput }
MonitoredResourceDescriptorResponseArrayInput is an input type that accepts MonitoredResourceDescriptorResponseArray and MonitoredResourceDescriptorResponseArrayOutput values. You can construct a concrete instance of `MonitoredResourceDescriptorResponseArrayInput` via:
MonitoredResourceDescriptorResponseArray{ MonitoredResourceDescriptorResponseArgs{...} }
type MonitoredResourceDescriptorResponseArrayOutput ¶
type MonitoredResourceDescriptorResponseArrayOutput struct{ *pulumi.OutputState }
func (MonitoredResourceDescriptorResponseArrayOutput) ElementType ¶
func (MonitoredResourceDescriptorResponseArrayOutput) ElementType() reflect.Type
func (MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutput ¶
func (o MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutput() MonitoredResourceDescriptorResponseArrayOutput
func (MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutputWithContext ¶
func (o MonitoredResourceDescriptorResponseArrayOutput) ToMonitoredResourceDescriptorResponseArrayOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseArrayOutput
type MonitoredResourceDescriptorResponseInput ¶
type MonitoredResourceDescriptorResponseInput interface { pulumi.Input ToMonitoredResourceDescriptorResponseOutput() MonitoredResourceDescriptorResponseOutput ToMonitoredResourceDescriptorResponseOutputWithContext(context.Context) MonitoredResourceDescriptorResponseOutput }
MonitoredResourceDescriptorResponseInput is an input type that accepts MonitoredResourceDescriptorResponseArgs and MonitoredResourceDescriptorResponseOutput values. You can construct a concrete instance of `MonitoredResourceDescriptorResponseInput` via:
MonitoredResourceDescriptorResponseArgs{...}
type MonitoredResourceDescriptorResponseOutput ¶
type MonitoredResourceDescriptorResponseOutput struct{ *pulumi.OutputState }
An object that describes the schema of a MonitoredResource object using a type name and a set of labels. For example, the monitored resource descriptor for Google Compute Engine VM instances has a type of `"gce_instance"` and specifies the use of the labels `"instance_id"` and `"zone"` to identify particular VM instances. Different APIs can support different monitored resource types. APIs generally provide a `list` method that returns the monitored resource descriptors used by the API.
func (MonitoredResourceDescriptorResponseOutput) Description ¶
func (o MonitoredResourceDescriptorResponseOutput) Description() pulumi.StringOutput
Optional. A detailed description of the monitored resource type that might be used in documentation.
func (MonitoredResourceDescriptorResponseOutput) DisplayName ¶
func (o MonitoredResourceDescriptorResponseOutput) DisplayName() pulumi.StringOutput
Optional. A concise name for the monitored resource type that might be displayed in user interfaces. It should be a Title Cased Noun Phrase, without any article or other determiners. For example, `"Google Cloud SQL Database"`.
func (MonitoredResourceDescriptorResponseOutput) ElementType ¶
func (MonitoredResourceDescriptorResponseOutput) ElementType() reflect.Type
func (MonitoredResourceDescriptorResponseOutput) Labels ¶
func (o MonitoredResourceDescriptorResponseOutput) Labels() LabelDescriptorResponseArrayOutput
Required. A set of labels used to describe instances of this monitored resource type. For example, an individual Google Cloud SQL database is identified by values for the labels `"database_id"` and `"zone"`.
func (MonitoredResourceDescriptorResponseOutput) LaunchStage ¶
func (o MonitoredResourceDescriptorResponseOutput) LaunchStage() pulumi.StringOutput
Optional. The launch stage of the monitored resource definition.
func (MonitoredResourceDescriptorResponseOutput) Name ¶
func (o MonitoredResourceDescriptorResponseOutput) Name() pulumi.StringOutput
Optional. The resource name of the monitored resource descriptor: `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where {type} is the value of the `type` field in this object and {project_id} is a project ID that provides API-specific context for accessing the type. APIs that do not use project information can use the resource name format `"monitoredResourceDescriptors/{type}"`.
func (MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutput ¶
func (o MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutput() MonitoredResourceDescriptorResponseOutput
func (MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutputWithContext ¶
func (o MonitoredResourceDescriptorResponseOutput) ToMonitoredResourceDescriptorResponseOutputWithContext(ctx context.Context) MonitoredResourceDescriptorResponseOutput
func (MonitoredResourceDescriptorResponseOutput) Type ¶
func (o MonitoredResourceDescriptorResponseOutput) Type() pulumi.StringOutput
Required. The monitored resource type. For example, the type `"cloudsql_database"` represents databases in Google Cloud SQL.
type Monitoring ¶
type Monitoring struct { // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ConsumerDestinations []MonitoringDestination `pulumi:"consumerDestinations"` // Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ProducerDestinations []MonitoringDestination `pulumi:"producerDestinations"` }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
type MonitoringArgs ¶
type MonitoringArgs struct { // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ConsumerDestinations MonitoringDestinationArrayInput `pulumi:"consumerDestinations"` // Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ProducerDestinations MonitoringDestinationArrayInput `pulumi:"producerDestinations"` }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
func (MonitoringArgs) ElementType ¶
func (MonitoringArgs) ElementType() reflect.Type
func (MonitoringArgs) ToMonitoringOutput ¶
func (i MonitoringArgs) ToMonitoringOutput() MonitoringOutput
func (MonitoringArgs) ToMonitoringOutputWithContext ¶
func (i MonitoringArgs) ToMonitoringOutputWithContext(ctx context.Context) MonitoringOutput
func (MonitoringArgs) ToMonitoringPtrOutput ¶
func (i MonitoringArgs) ToMonitoringPtrOutput() MonitoringPtrOutput
func (MonitoringArgs) ToMonitoringPtrOutputWithContext ¶
func (i MonitoringArgs) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
type MonitoringDestination ¶
type MonitoringDestination struct { // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. Metrics []string `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource *string `pulumi:"monitoredResource"` }
Configuration of a specific monitoring destination (the producer project or the consumer project).
type MonitoringDestinationArgs ¶
type MonitoringDestinationArgs struct { // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. Metrics pulumi.StringArrayInput `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource pulumi.StringPtrInput `pulumi:"monitoredResource"` }
Configuration of a specific monitoring destination (the producer project or the consumer project).
func (MonitoringDestinationArgs) ElementType ¶
func (MonitoringDestinationArgs) ElementType() reflect.Type
func (MonitoringDestinationArgs) ToMonitoringDestinationOutput ¶
func (i MonitoringDestinationArgs) ToMonitoringDestinationOutput() MonitoringDestinationOutput
func (MonitoringDestinationArgs) ToMonitoringDestinationOutputWithContext ¶
func (i MonitoringDestinationArgs) ToMonitoringDestinationOutputWithContext(ctx context.Context) MonitoringDestinationOutput
type MonitoringDestinationArray ¶
type MonitoringDestinationArray []MonitoringDestinationInput
func (MonitoringDestinationArray) ElementType ¶
func (MonitoringDestinationArray) ElementType() reflect.Type
func (MonitoringDestinationArray) ToMonitoringDestinationArrayOutput ¶
func (i MonitoringDestinationArray) ToMonitoringDestinationArrayOutput() MonitoringDestinationArrayOutput
func (MonitoringDestinationArray) ToMonitoringDestinationArrayOutputWithContext ¶
func (i MonitoringDestinationArray) ToMonitoringDestinationArrayOutputWithContext(ctx context.Context) MonitoringDestinationArrayOutput
type MonitoringDestinationArrayInput ¶
type MonitoringDestinationArrayInput interface { pulumi.Input ToMonitoringDestinationArrayOutput() MonitoringDestinationArrayOutput ToMonitoringDestinationArrayOutputWithContext(context.Context) MonitoringDestinationArrayOutput }
MonitoringDestinationArrayInput is an input type that accepts MonitoringDestinationArray and MonitoringDestinationArrayOutput values. You can construct a concrete instance of `MonitoringDestinationArrayInput` via:
MonitoringDestinationArray{ MonitoringDestinationArgs{...} }
type MonitoringDestinationArrayOutput ¶
type MonitoringDestinationArrayOutput struct{ *pulumi.OutputState }
func (MonitoringDestinationArrayOutput) ElementType ¶
func (MonitoringDestinationArrayOutput) ElementType() reflect.Type
func (MonitoringDestinationArrayOutput) Index ¶
func (o MonitoringDestinationArrayOutput) Index(i pulumi.IntInput) MonitoringDestinationOutput
func (MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutput ¶
func (o MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutput() MonitoringDestinationArrayOutput
func (MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutputWithContext ¶
func (o MonitoringDestinationArrayOutput) ToMonitoringDestinationArrayOutputWithContext(ctx context.Context) MonitoringDestinationArrayOutput
type MonitoringDestinationInput ¶
type MonitoringDestinationInput interface { pulumi.Input ToMonitoringDestinationOutput() MonitoringDestinationOutput ToMonitoringDestinationOutputWithContext(context.Context) MonitoringDestinationOutput }
MonitoringDestinationInput is an input type that accepts MonitoringDestinationArgs and MonitoringDestinationOutput values. You can construct a concrete instance of `MonitoringDestinationInput` via:
MonitoringDestinationArgs{...}
type MonitoringDestinationOutput ¶
type MonitoringDestinationOutput struct{ *pulumi.OutputState }
Configuration of a specific monitoring destination (the producer project or the consumer project).
func (MonitoringDestinationOutput) ElementType ¶
func (MonitoringDestinationOutput) ElementType() reflect.Type
func (MonitoringDestinationOutput) Metrics ¶
func (o MonitoringDestinationOutput) Metrics() pulumi.StringArrayOutput
Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
func (MonitoringDestinationOutput) MonitoredResource ¶
func (o MonitoringDestinationOutput) MonitoredResource() pulumi.StringPtrOutput
The monitored resource type. The type must be defined in Service.monitored_resources section.
func (MonitoringDestinationOutput) ToMonitoringDestinationOutput ¶
func (o MonitoringDestinationOutput) ToMonitoringDestinationOutput() MonitoringDestinationOutput
func (MonitoringDestinationOutput) ToMonitoringDestinationOutputWithContext ¶
func (o MonitoringDestinationOutput) ToMonitoringDestinationOutputWithContext(ctx context.Context) MonitoringDestinationOutput
type MonitoringDestinationResponse ¶
type MonitoringDestinationResponse struct { // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. Metrics []string `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource string `pulumi:"monitoredResource"` }
Configuration of a specific monitoring destination (the producer project or the consumer project).
type MonitoringDestinationResponseArgs ¶
type MonitoringDestinationResponseArgs struct { // Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section. Metrics pulumi.StringArrayInput `pulumi:"metrics"` // The monitored resource type. The type must be defined in Service.monitored_resources section. MonitoredResource pulumi.StringInput `pulumi:"monitoredResource"` }
Configuration of a specific monitoring destination (the producer project or the consumer project).
func (MonitoringDestinationResponseArgs) ElementType ¶
func (MonitoringDestinationResponseArgs) ElementType() reflect.Type
func (MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutput ¶
func (i MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutput() MonitoringDestinationResponseOutput
func (MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutputWithContext ¶
func (i MonitoringDestinationResponseArgs) ToMonitoringDestinationResponseOutputWithContext(ctx context.Context) MonitoringDestinationResponseOutput
type MonitoringDestinationResponseArray ¶
type MonitoringDestinationResponseArray []MonitoringDestinationResponseInput
func (MonitoringDestinationResponseArray) ElementType ¶
func (MonitoringDestinationResponseArray) ElementType() reflect.Type
func (MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutput ¶
func (i MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutput() MonitoringDestinationResponseArrayOutput
func (MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutputWithContext ¶
func (i MonitoringDestinationResponseArray) ToMonitoringDestinationResponseArrayOutputWithContext(ctx context.Context) MonitoringDestinationResponseArrayOutput
type MonitoringDestinationResponseArrayInput ¶
type MonitoringDestinationResponseArrayInput interface { pulumi.Input ToMonitoringDestinationResponseArrayOutput() MonitoringDestinationResponseArrayOutput ToMonitoringDestinationResponseArrayOutputWithContext(context.Context) MonitoringDestinationResponseArrayOutput }
MonitoringDestinationResponseArrayInput is an input type that accepts MonitoringDestinationResponseArray and MonitoringDestinationResponseArrayOutput values. You can construct a concrete instance of `MonitoringDestinationResponseArrayInput` via:
MonitoringDestinationResponseArray{ MonitoringDestinationResponseArgs{...} }
type MonitoringDestinationResponseArrayOutput ¶
type MonitoringDestinationResponseArrayOutput struct{ *pulumi.OutputState }
func (MonitoringDestinationResponseArrayOutput) ElementType ¶
func (MonitoringDestinationResponseArrayOutput) ElementType() reflect.Type
func (MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutput ¶
func (o MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutput() MonitoringDestinationResponseArrayOutput
func (MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutputWithContext ¶
func (o MonitoringDestinationResponseArrayOutput) ToMonitoringDestinationResponseArrayOutputWithContext(ctx context.Context) MonitoringDestinationResponseArrayOutput
type MonitoringDestinationResponseInput ¶
type MonitoringDestinationResponseInput interface { pulumi.Input ToMonitoringDestinationResponseOutput() MonitoringDestinationResponseOutput ToMonitoringDestinationResponseOutputWithContext(context.Context) MonitoringDestinationResponseOutput }
MonitoringDestinationResponseInput is an input type that accepts MonitoringDestinationResponseArgs and MonitoringDestinationResponseOutput values. You can construct a concrete instance of `MonitoringDestinationResponseInput` via:
MonitoringDestinationResponseArgs{...}
type MonitoringDestinationResponseOutput ¶
type MonitoringDestinationResponseOutput struct{ *pulumi.OutputState }
Configuration of a specific monitoring destination (the producer project or the consumer project).
func (MonitoringDestinationResponseOutput) ElementType ¶
func (MonitoringDestinationResponseOutput) ElementType() reflect.Type
func (MonitoringDestinationResponseOutput) Metrics ¶
func (o MonitoringDestinationResponseOutput) Metrics() pulumi.StringArrayOutput
Types of the metrics to report to this monitoring destination. Each type must be defined in Service.metrics section.
func (MonitoringDestinationResponseOutput) MonitoredResource ¶
func (o MonitoringDestinationResponseOutput) MonitoredResource() pulumi.StringOutput
The monitored resource type. The type must be defined in Service.monitored_resources section.
func (MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutput ¶
func (o MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutput() MonitoringDestinationResponseOutput
func (MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutputWithContext ¶
func (o MonitoringDestinationResponseOutput) ToMonitoringDestinationResponseOutputWithContext(ctx context.Context) MonitoringDestinationResponseOutput
type MonitoringInput ¶
type MonitoringInput interface { pulumi.Input ToMonitoringOutput() MonitoringOutput ToMonitoringOutputWithContext(context.Context) MonitoringOutput }
MonitoringInput is an input type that accepts MonitoringArgs and MonitoringOutput values. You can construct a concrete instance of `MonitoringInput` via:
MonitoringArgs{...}
type MonitoringOutput ¶
type MonitoringOutput struct{ *pulumi.OutputState }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
func (MonitoringOutput) ConsumerDestinations ¶
func (o MonitoringOutput) ConsumerDestinations() MonitoringDestinationArrayOutput
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringOutput) ElementType ¶
func (MonitoringOutput) ElementType() reflect.Type
func (MonitoringOutput) ProducerDestinations ¶
func (o MonitoringOutput) ProducerDestinations() MonitoringDestinationArrayOutput
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringOutput) ToMonitoringOutput ¶
func (o MonitoringOutput) ToMonitoringOutput() MonitoringOutput
func (MonitoringOutput) ToMonitoringOutputWithContext ¶
func (o MonitoringOutput) ToMonitoringOutputWithContext(ctx context.Context) MonitoringOutput
func (MonitoringOutput) ToMonitoringPtrOutput ¶
func (o MonitoringOutput) ToMonitoringPtrOutput() MonitoringPtrOutput
func (MonitoringOutput) ToMonitoringPtrOutputWithContext ¶
func (o MonitoringOutput) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
type MonitoringPtrInput ¶
type MonitoringPtrInput interface { pulumi.Input ToMonitoringPtrOutput() MonitoringPtrOutput ToMonitoringPtrOutputWithContext(context.Context) MonitoringPtrOutput }
MonitoringPtrInput is an input type that accepts MonitoringArgs, MonitoringPtr and MonitoringPtrOutput values. You can construct a concrete instance of `MonitoringPtrInput` via:
MonitoringArgs{...} or: nil
func MonitoringPtr ¶
func MonitoringPtr(v *MonitoringArgs) MonitoringPtrInput
type MonitoringPtrOutput ¶
type MonitoringPtrOutput struct{ *pulumi.OutputState }
func (MonitoringPtrOutput) ConsumerDestinations ¶
func (o MonitoringPtrOutput) ConsumerDestinations() MonitoringDestinationArrayOutput
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringPtrOutput) Elem ¶
func (o MonitoringPtrOutput) Elem() MonitoringOutput
func (MonitoringPtrOutput) ElementType ¶
func (MonitoringPtrOutput) ElementType() reflect.Type
func (MonitoringPtrOutput) ProducerDestinations ¶
func (o MonitoringPtrOutput) ProducerDestinations() MonitoringDestinationArrayOutput
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringPtrOutput) ToMonitoringPtrOutput ¶
func (o MonitoringPtrOutput) ToMonitoringPtrOutput() MonitoringPtrOutput
func (MonitoringPtrOutput) ToMonitoringPtrOutputWithContext ¶
func (o MonitoringPtrOutput) ToMonitoringPtrOutputWithContext(ctx context.Context) MonitoringPtrOutput
type MonitoringResponse ¶
type MonitoringResponse struct { // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ConsumerDestinations []MonitoringDestinationResponse `pulumi:"consumerDestinations"` // Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ProducerDestinations []MonitoringDestinationResponse `pulumi:"producerDestinations"` }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
type MonitoringResponseArgs ¶
type MonitoringResponseArgs struct { // Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ConsumerDestinations MonitoringDestinationResponseArrayInput `pulumi:"consumerDestinations"` // Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration. ProducerDestinations MonitoringDestinationResponseArrayInput `pulumi:"producerDestinations"` }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
func (MonitoringResponseArgs) ElementType ¶
func (MonitoringResponseArgs) ElementType() reflect.Type
func (MonitoringResponseArgs) ToMonitoringResponseOutput ¶
func (i MonitoringResponseArgs) ToMonitoringResponseOutput() MonitoringResponseOutput
func (MonitoringResponseArgs) ToMonitoringResponseOutputWithContext ¶
func (i MonitoringResponseArgs) ToMonitoringResponseOutputWithContext(ctx context.Context) MonitoringResponseOutput
func (MonitoringResponseArgs) ToMonitoringResponsePtrOutput ¶
func (i MonitoringResponseArgs) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
func (MonitoringResponseArgs) ToMonitoringResponsePtrOutputWithContext ¶
func (i MonitoringResponseArgs) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
type MonitoringResponseInput ¶
type MonitoringResponseInput interface { pulumi.Input ToMonitoringResponseOutput() MonitoringResponseOutput ToMonitoringResponseOutputWithContext(context.Context) MonitoringResponseOutput }
MonitoringResponseInput is an input type that accepts MonitoringResponseArgs and MonitoringResponseOutput values. You can construct a concrete instance of `MonitoringResponseInput` via:
MonitoringResponseArgs{...}
type MonitoringResponseOutput ¶
type MonitoringResponseOutput struct{ *pulumi.OutputState }
Monitoring configuration of the service. The example below shows how to configure monitored resources and metrics for monitoring. In the example, a monitored resource and two metrics are defined. The `library.googleapis.com/book/returned_count` metric is sent to both producer and consumer projects, whereas the `library.googleapis.com/book/num_overdue` metric is only sent to the consumer project. monitored_resources: - type: library.googleapis.com/Branch display_name: "Library Branch" description: "A branch of a library." launch_stage: GA labels: - key: resource_container description: "The Cloud container (ie. project id) for the Branch." - key: location description: "The location of the library branch." - key: branch_id description: "The id of the branch." metrics: - name: library.googleapis.com/book/returned_count display_name: "Books Returned" description: "The count of books that have been returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." - name: library.googleapis.com/book/num_overdue display_name: "Books Overdue" description: "The current number of overdue books." launch_stage: GA metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id description: "The id of the customer." monitoring: producer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count consumer_destinations: - monitored_resource: library.googleapis.com/Branch metrics: - library.googleapis.com/book/returned_count - library.googleapis.com/book/num_overdue
func (MonitoringResponseOutput) ConsumerDestinations ¶
func (o MonitoringResponseOutput) ConsumerDestinations() MonitoringDestinationResponseArrayOutput
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringResponseOutput) ElementType ¶
func (MonitoringResponseOutput) ElementType() reflect.Type
func (MonitoringResponseOutput) ProducerDestinations ¶
func (o MonitoringResponseOutput) ProducerDestinations() MonitoringDestinationResponseArrayOutput
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringResponseOutput) ToMonitoringResponseOutput ¶
func (o MonitoringResponseOutput) ToMonitoringResponseOutput() MonitoringResponseOutput
func (MonitoringResponseOutput) ToMonitoringResponseOutputWithContext ¶
func (o MonitoringResponseOutput) ToMonitoringResponseOutputWithContext(ctx context.Context) MonitoringResponseOutput
func (MonitoringResponseOutput) ToMonitoringResponsePtrOutput ¶
func (o MonitoringResponseOutput) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
func (MonitoringResponseOutput) ToMonitoringResponsePtrOutputWithContext ¶
func (o MonitoringResponseOutput) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
type MonitoringResponsePtrInput ¶
type MonitoringResponsePtrInput interface { pulumi.Input ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput ToMonitoringResponsePtrOutputWithContext(context.Context) MonitoringResponsePtrOutput }
MonitoringResponsePtrInput is an input type that accepts MonitoringResponseArgs, MonitoringResponsePtr and MonitoringResponsePtrOutput values. You can construct a concrete instance of `MonitoringResponsePtrInput` via:
MonitoringResponseArgs{...} or: nil
func MonitoringResponsePtr ¶
func MonitoringResponsePtr(v *MonitoringResponseArgs) MonitoringResponsePtrInput
type MonitoringResponsePtrOutput ¶
type MonitoringResponsePtrOutput struct{ *pulumi.OutputState }
func (MonitoringResponsePtrOutput) ConsumerDestinations ¶
func (o MonitoringResponsePtrOutput) ConsumerDestinations() MonitoringDestinationResponseArrayOutput
Monitoring configurations for sending metrics to the consumer project. There can be multiple consumer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringResponsePtrOutput) Elem ¶
func (o MonitoringResponsePtrOutput) Elem() MonitoringResponseOutput
func (MonitoringResponsePtrOutput) ElementType ¶
func (MonitoringResponsePtrOutput) ElementType() reflect.Type
func (MonitoringResponsePtrOutput) ProducerDestinations ¶
func (o MonitoringResponsePtrOutput) ProducerDestinations() MonitoringDestinationResponseArrayOutput
Monitoring configurations for sending metrics to the producer project. There can be multiple producer destinations. A monitored resource type may appear in multiple monitoring destinations if different aggregations are needed for different sets of metrics associated with that monitored resource type. A monitored resource and metric pair may only be used once in the Monitoring configuration.
func (MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutput ¶
func (o MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutput() MonitoringResponsePtrOutput
func (MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutputWithContext ¶
func (o MonitoringResponsePtrOutput) ToMonitoringResponsePtrOutputWithContext(ctx context.Context) MonitoringResponsePtrOutput
type OAuthRequirements ¶
type OAuthRequirements struct { // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read CanonicalScopes *string `pulumi:"canonicalScopes"` }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
type OAuthRequirementsArgs ¶
type OAuthRequirementsArgs struct { // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read CanonicalScopes pulumi.StringPtrInput `pulumi:"canonicalScopes"` }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
func (OAuthRequirementsArgs) ElementType ¶
func (OAuthRequirementsArgs) ElementType() reflect.Type
func (OAuthRequirementsArgs) ToOAuthRequirementsOutput ¶
func (i OAuthRequirementsArgs) ToOAuthRequirementsOutput() OAuthRequirementsOutput
func (OAuthRequirementsArgs) ToOAuthRequirementsOutputWithContext ¶
func (i OAuthRequirementsArgs) ToOAuthRequirementsOutputWithContext(ctx context.Context) OAuthRequirementsOutput
func (OAuthRequirementsArgs) ToOAuthRequirementsPtrOutput ¶
func (i OAuthRequirementsArgs) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
func (OAuthRequirementsArgs) ToOAuthRequirementsPtrOutputWithContext ¶
func (i OAuthRequirementsArgs) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
type OAuthRequirementsInput ¶
type OAuthRequirementsInput interface { pulumi.Input ToOAuthRequirementsOutput() OAuthRequirementsOutput ToOAuthRequirementsOutputWithContext(context.Context) OAuthRequirementsOutput }
OAuthRequirementsInput is an input type that accepts OAuthRequirementsArgs and OAuthRequirementsOutput values. You can construct a concrete instance of `OAuthRequirementsInput` via:
OAuthRequirementsArgs{...}
type OAuthRequirementsOutput ¶
type OAuthRequirementsOutput struct{ *pulumi.OutputState }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
func (OAuthRequirementsOutput) CanonicalScopes ¶
func (o OAuthRequirementsOutput) CanonicalScopes() pulumi.StringPtrOutput
The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read
func (OAuthRequirementsOutput) ElementType ¶
func (OAuthRequirementsOutput) ElementType() reflect.Type
func (OAuthRequirementsOutput) ToOAuthRequirementsOutput ¶
func (o OAuthRequirementsOutput) ToOAuthRequirementsOutput() OAuthRequirementsOutput
func (OAuthRequirementsOutput) ToOAuthRequirementsOutputWithContext ¶
func (o OAuthRequirementsOutput) ToOAuthRequirementsOutputWithContext(ctx context.Context) OAuthRequirementsOutput
func (OAuthRequirementsOutput) ToOAuthRequirementsPtrOutput ¶
func (o OAuthRequirementsOutput) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
func (OAuthRequirementsOutput) ToOAuthRequirementsPtrOutputWithContext ¶
func (o OAuthRequirementsOutput) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
type OAuthRequirementsPtrInput ¶
type OAuthRequirementsPtrInput interface { pulumi.Input ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput ToOAuthRequirementsPtrOutputWithContext(context.Context) OAuthRequirementsPtrOutput }
OAuthRequirementsPtrInput is an input type that accepts OAuthRequirementsArgs, OAuthRequirementsPtr and OAuthRequirementsPtrOutput values. You can construct a concrete instance of `OAuthRequirementsPtrInput` via:
OAuthRequirementsArgs{...} or: nil
func OAuthRequirementsPtr ¶
func OAuthRequirementsPtr(v *OAuthRequirementsArgs) OAuthRequirementsPtrInput
type OAuthRequirementsPtrOutput ¶
type OAuthRequirementsPtrOutput struct{ *pulumi.OutputState }
func (OAuthRequirementsPtrOutput) CanonicalScopes ¶
func (o OAuthRequirementsPtrOutput) CanonicalScopes() pulumi.StringPtrOutput
The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read
func (OAuthRequirementsPtrOutput) Elem ¶
func (o OAuthRequirementsPtrOutput) Elem() OAuthRequirementsOutput
func (OAuthRequirementsPtrOutput) ElementType ¶
func (OAuthRequirementsPtrOutput) ElementType() reflect.Type
func (OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutput ¶
func (o OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutput() OAuthRequirementsPtrOutput
func (OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutputWithContext ¶
func (o OAuthRequirementsPtrOutput) ToOAuthRequirementsPtrOutputWithContext(ctx context.Context) OAuthRequirementsPtrOutput
type OAuthRequirementsResponse ¶
type OAuthRequirementsResponse struct { // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read CanonicalScopes string `pulumi:"canonicalScopes"` }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
type OAuthRequirementsResponseArgs ¶
type OAuthRequirementsResponseArgs struct { // The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read CanonicalScopes pulumi.StringInput `pulumi:"canonicalScopes"` }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
func (OAuthRequirementsResponseArgs) ElementType ¶
func (OAuthRequirementsResponseArgs) ElementType() reflect.Type
func (OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutput ¶
func (i OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutput() OAuthRequirementsResponseOutput
func (OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutputWithContext ¶
func (i OAuthRequirementsResponseArgs) ToOAuthRequirementsResponseOutputWithContext(ctx context.Context) OAuthRequirementsResponseOutput
type OAuthRequirementsResponseInput ¶
type OAuthRequirementsResponseInput interface { pulumi.Input ToOAuthRequirementsResponseOutput() OAuthRequirementsResponseOutput ToOAuthRequirementsResponseOutputWithContext(context.Context) OAuthRequirementsResponseOutput }
OAuthRequirementsResponseInput is an input type that accepts OAuthRequirementsResponseArgs and OAuthRequirementsResponseOutput values. You can construct a concrete instance of `OAuthRequirementsResponseInput` via:
OAuthRequirementsResponseArgs{...}
type OAuthRequirementsResponseOutput ¶
type OAuthRequirementsResponseOutput struct{ *pulumi.OutputState }
OAuth scopes are a way to define data and permissions on data. For example, there are scopes defined for "Read-only access to Google Calendar" and "Access to Cloud Platform". Users can consent to a scope for an application, giving it permission to access that data on their behalf. OAuth scope specifications should be fairly coarse grained; a user will need to see and understand the text description of what your scope means. In most cases: use one or at most two OAuth scopes for an entire family of products. If your product has multiple APIs, you should probably be sharing the OAuth scope across all of those APIs. When you need finer grained OAuth consent screens: talk with your product management about how developers will use them in practice. Please note that even though each of the canonical scopes is enough for a request to be accepted and passed to the backend, a request can still fail due to the backend requiring additional scopes or permissions.
func (OAuthRequirementsResponseOutput) CanonicalScopes ¶
func (o OAuthRequirementsResponseOutput) CanonicalScopes() pulumi.StringOutput
The list of publicly documented OAuth scopes that are allowed access. An OAuth token containing any of these scopes will be accepted. Example: canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.googleapis.com/auth/calendar.read
func (OAuthRequirementsResponseOutput) ElementType ¶
func (OAuthRequirementsResponseOutput) ElementType() reflect.Type
func (OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutput ¶
func (o OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutput() OAuthRequirementsResponseOutput
func (OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutputWithContext ¶
func (o OAuthRequirementsResponseOutput) ToOAuthRequirementsResponseOutputWithContext(ctx context.Context) OAuthRequirementsResponseOutput
type Option ¶
type Option struct { // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. Name *string `pulumi:"name"` // The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type. Value map[string]string `pulumi:"value"` }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
type OptionArgs ¶
type OptionArgs struct { // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. Name pulumi.StringPtrInput `pulumi:"name"` // The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type. Value pulumi.StringMapInput `pulumi:"value"` }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
func (OptionArgs) ElementType ¶
func (OptionArgs) ElementType() reflect.Type
func (OptionArgs) ToOptionOutput ¶
func (i OptionArgs) ToOptionOutput() OptionOutput
func (OptionArgs) ToOptionOutputWithContext ¶
func (i OptionArgs) ToOptionOutputWithContext(ctx context.Context) OptionOutput
type OptionArray ¶
type OptionArray []OptionInput
func (OptionArray) ElementType ¶
func (OptionArray) ElementType() reflect.Type
func (OptionArray) ToOptionArrayOutput ¶
func (i OptionArray) ToOptionArrayOutput() OptionArrayOutput
func (OptionArray) ToOptionArrayOutputWithContext ¶
func (i OptionArray) ToOptionArrayOutputWithContext(ctx context.Context) OptionArrayOutput
type OptionArrayInput ¶
type OptionArrayInput interface { pulumi.Input ToOptionArrayOutput() OptionArrayOutput ToOptionArrayOutputWithContext(context.Context) OptionArrayOutput }
OptionArrayInput is an input type that accepts OptionArray and OptionArrayOutput values. You can construct a concrete instance of `OptionArrayInput` via:
OptionArray{ OptionArgs{...} }
type OptionArrayOutput ¶
type OptionArrayOutput struct{ *pulumi.OutputState }
func (OptionArrayOutput) ElementType ¶
func (OptionArrayOutput) ElementType() reflect.Type
func (OptionArrayOutput) Index ¶
func (o OptionArrayOutput) Index(i pulumi.IntInput) OptionOutput
func (OptionArrayOutput) ToOptionArrayOutput ¶
func (o OptionArrayOutput) ToOptionArrayOutput() OptionArrayOutput
func (OptionArrayOutput) ToOptionArrayOutputWithContext ¶
func (o OptionArrayOutput) ToOptionArrayOutputWithContext(ctx context.Context) OptionArrayOutput
type OptionInput ¶
type OptionInput interface { pulumi.Input ToOptionOutput() OptionOutput ToOptionOutputWithContext(context.Context) OptionOutput }
OptionInput is an input type that accepts OptionArgs and OptionOutput values. You can construct a concrete instance of `OptionInput` via:
OptionArgs{...}
type OptionOutput ¶
type OptionOutput struct{ *pulumi.OutputState }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
func (OptionOutput) ElementType ¶
func (OptionOutput) ElementType() reflect.Type
func (OptionOutput) Name ¶
func (o OptionOutput) Name() pulumi.StringPtrOutput
The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`.
func (OptionOutput) ToOptionOutput ¶
func (o OptionOutput) ToOptionOutput() OptionOutput
func (OptionOutput) ToOptionOutputWithContext ¶
func (o OptionOutput) ToOptionOutputWithContext(ctx context.Context) OptionOutput
func (OptionOutput) Value ¶
func (o OptionOutput) Value() pulumi.StringMapOutput
The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
type OptionResponse ¶
type OptionResponse struct { // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. Name string `pulumi:"name"` // The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type. Value map[string]string `pulumi:"value"` }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
type OptionResponseArgs ¶
type OptionResponseArgs struct { // The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`. Name pulumi.StringInput `pulumi:"name"` // The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type. Value pulumi.StringMapInput `pulumi:"value"` }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
func (OptionResponseArgs) ElementType ¶
func (OptionResponseArgs) ElementType() reflect.Type
func (OptionResponseArgs) ToOptionResponseOutput ¶
func (i OptionResponseArgs) ToOptionResponseOutput() OptionResponseOutput
func (OptionResponseArgs) ToOptionResponseOutputWithContext ¶
func (i OptionResponseArgs) ToOptionResponseOutputWithContext(ctx context.Context) OptionResponseOutput
type OptionResponseArray ¶
type OptionResponseArray []OptionResponseInput
func (OptionResponseArray) ElementType ¶
func (OptionResponseArray) ElementType() reflect.Type
func (OptionResponseArray) ToOptionResponseArrayOutput ¶
func (i OptionResponseArray) ToOptionResponseArrayOutput() OptionResponseArrayOutput
func (OptionResponseArray) ToOptionResponseArrayOutputWithContext ¶
func (i OptionResponseArray) ToOptionResponseArrayOutputWithContext(ctx context.Context) OptionResponseArrayOutput
type OptionResponseArrayInput ¶
type OptionResponseArrayInput interface { pulumi.Input ToOptionResponseArrayOutput() OptionResponseArrayOutput ToOptionResponseArrayOutputWithContext(context.Context) OptionResponseArrayOutput }
OptionResponseArrayInput is an input type that accepts OptionResponseArray and OptionResponseArrayOutput values. You can construct a concrete instance of `OptionResponseArrayInput` via:
OptionResponseArray{ OptionResponseArgs{...} }
type OptionResponseArrayOutput ¶
type OptionResponseArrayOutput struct{ *pulumi.OutputState }
func (OptionResponseArrayOutput) ElementType ¶
func (OptionResponseArrayOutput) ElementType() reflect.Type
func (OptionResponseArrayOutput) Index ¶
func (o OptionResponseArrayOutput) Index(i pulumi.IntInput) OptionResponseOutput
func (OptionResponseArrayOutput) ToOptionResponseArrayOutput ¶
func (o OptionResponseArrayOutput) ToOptionResponseArrayOutput() OptionResponseArrayOutput
func (OptionResponseArrayOutput) ToOptionResponseArrayOutputWithContext ¶
func (o OptionResponseArrayOutput) ToOptionResponseArrayOutputWithContext(ctx context.Context) OptionResponseArrayOutput
type OptionResponseInput ¶
type OptionResponseInput interface { pulumi.Input ToOptionResponseOutput() OptionResponseOutput ToOptionResponseOutputWithContext(context.Context) OptionResponseOutput }
OptionResponseInput is an input type that accepts OptionResponseArgs and OptionResponseOutput values. You can construct a concrete instance of `OptionResponseInput` via:
OptionResponseArgs{...}
type OptionResponseOutput ¶
type OptionResponseOutput struct{ *pulumi.OutputState }
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
func (OptionResponseOutput) ElementType ¶
func (OptionResponseOutput) ElementType() reflect.Type
func (OptionResponseOutput) Name ¶
func (o OptionResponseOutput) Name() pulumi.StringOutput
The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`.
func (OptionResponseOutput) ToOptionResponseOutput ¶
func (o OptionResponseOutput) ToOptionResponseOutput() OptionResponseOutput
func (OptionResponseOutput) ToOptionResponseOutputWithContext ¶
func (o OptionResponseOutput) ToOptionResponseOutputWithContext(ctx context.Context) OptionResponseOutput
func (OptionResponseOutput) Value ¶
func (o OptionResponseOutput) Value() pulumi.StringMapOutput
The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
type Page ¶
type Page struct { // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. Content *string `pulumi:"content"` // The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. Name *string `pulumi:"name"` // Subpages of this page. The order of subpages specified here will be honored in the generated docset. Subpages []Page `pulumi:"subpages"` }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
type PageArgs ¶
type PageArgs struct { // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. Content pulumi.StringPtrInput `pulumi:"content"` // The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. Name pulumi.StringPtrInput `pulumi:"name"` // Subpages of this page. The order of subpages specified here will be honored in the generated docset. Subpages PageArrayInput `pulumi:"subpages"` }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
func (PageArgs) ElementType ¶
func (PageArgs) ToPageOutput ¶
func (i PageArgs) ToPageOutput() PageOutput
func (PageArgs) ToPageOutputWithContext ¶
func (i PageArgs) ToPageOutputWithContext(ctx context.Context) PageOutput
type PageArray ¶
type PageArray []PageInput
func (PageArray) ElementType ¶
func (PageArray) ToPageArrayOutput ¶
func (i PageArray) ToPageArrayOutput() PageArrayOutput
func (PageArray) ToPageArrayOutputWithContext ¶
func (i PageArray) ToPageArrayOutputWithContext(ctx context.Context) PageArrayOutput
type PageArrayInput ¶
type PageArrayInput interface { pulumi.Input ToPageArrayOutput() PageArrayOutput ToPageArrayOutputWithContext(context.Context) PageArrayOutput }
PageArrayInput is an input type that accepts PageArray and PageArrayOutput values. You can construct a concrete instance of `PageArrayInput` via:
PageArray{ PageArgs{...} }
type PageArrayOutput ¶
type PageArrayOutput struct{ *pulumi.OutputState }
func (PageArrayOutput) ElementType ¶
func (PageArrayOutput) ElementType() reflect.Type
func (PageArrayOutput) Index ¶
func (o PageArrayOutput) Index(i pulumi.IntInput) PageOutput
func (PageArrayOutput) ToPageArrayOutput ¶
func (o PageArrayOutput) ToPageArrayOutput() PageArrayOutput
func (PageArrayOutput) ToPageArrayOutputWithContext ¶
func (o PageArrayOutput) ToPageArrayOutputWithContext(ctx context.Context) PageArrayOutput
type PageInput ¶
type PageInput interface { pulumi.Input ToPageOutput() PageOutput ToPageOutputWithContext(context.Context) PageOutput }
PageInput is an input type that accepts PageArgs and PageOutput values. You can construct a concrete instance of `PageInput` via:
PageArgs{...}
type PageOutput ¶
type PageOutput struct{ *pulumi.OutputState }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
func (PageOutput) Content ¶
func (o PageOutput) Content() pulumi.StringPtrOutput
The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.
func (PageOutput) ElementType ¶
func (PageOutput) ElementType() reflect.Type
func (PageOutput) Name ¶
func (o PageOutput) Name() pulumi.StringPtrOutput
The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.
func (PageOutput) Subpages ¶
func (o PageOutput) Subpages() PageArrayOutput
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
func (PageOutput) ToPageOutput ¶
func (o PageOutput) ToPageOutput() PageOutput
func (PageOutput) ToPageOutputWithContext ¶
func (o PageOutput) ToPageOutputWithContext(ctx context.Context) PageOutput
type PageResponse ¶
type PageResponse struct { // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. Content string `pulumi:"content"` // The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. Name string `pulumi:"name"` // Subpages of this page. The order of subpages specified here will be honored in the generated docset. Subpages []PageResponse `pulumi:"subpages"` }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
type PageResponseArgs ¶
type PageResponseArgs struct { // The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file. Content pulumi.StringInput `pulumi:"content"` // The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`. Name pulumi.StringInput `pulumi:"name"` // Subpages of this page. The order of subpages specified here will be honored in the generated docset. Subpages PageResponseArrayInput `pulumi:"subpages"` }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
func (PageResponseArgs) ElementType ¶
func (PageResponseArgs) ElementType() reflect.Type
func (PageResponseArgs) ToPageResponseOutput ¶
func (i PageResponseArgs) ToPageResponseOutput() PageResponseOutput
func (PageResponseArgs) ToPageResponseOutputWithContext ¶
func (i PageResponseArgs) ToPageResponseOutputWithContext(ctx context.Context) PageResponseOutput
type PageResponseArray ¶
type PageResponseArray []PageResponseInput
func (PageResponseArray) ElementType ¶
func (PageResponseArray) ElementType() reflect.Type
func (PageResponseArray) ToPageResponseArrayOutput ¶
func (i PageResponseArray) ToPageResponseArrayOutput() PageResponseArrayOutput
func (PageResponseArray) ToPageResponseArrayOutputWithContext ¶
func (i PageResponseArray) ToPageResponseArrayOutputWithContext(ctx context.Context) PageResponseArrayOutput
type PageResponseArrayInput ¶
type PageResponseArrayInput interface { pulumi.Input ToPageResponseArrayOutput() PageResponseArrayOutput ToPageResponseArrayOutputWithContext(context.Context) PageResponseArrayOutput }
PageResponseArrayInput is an input type that accepts PageResponseArray and PageResponseArrayOutput values. You can construct a concrete instance of `PageResponseArrayInput` via:
PageResponseArray{ PageResponseArgs{...} }
type PageResponseArrayOutput ¶
type PageResponseArrayOutput struct{ *pulumi.OutputState }
func (PageResponseArrayOutput) ElementType ¶
func (PageResponseArrayOutput) ElementType() reflect.Type
func (PageResponseArrayOutput) Index ¶
func (o PageResponseArrayOutput) Index(i pulumi.IntInput) PageResponseOutput
func (PageResponseArrayOutput) ToPageResponseArrayOutput ¶
func (o PageResponseArrayOutput) ToPageResponseArrayOutput() PageResponseArrayOutput
func (PageResponseArrayOutput) ToPageResponseArrayOutputWithContext ¶
func (o PageResponseArrayOutput) ToPageResponseArrayOutputWithContext(ctx context.Context) PageResponseArrayOutput
type PageResponseInput ¶
type PageResponseInput interface { pulumi.Input ToPageResponseOutput() PageResponseOutput ToPageResponseOutputWithContext(context.Context) PageResponseOutput }
PageResponseInput is an input type that accepts PageResponseArgs and PageResponseOutput values. You can construct a concrete instance of `PageResponseInput` via:
PageResponseArgs{...}
type PageResponseOutput ¶
type PageResponseOutput struct{ *pulumi.OutputState }
Represents a documentation page. A page can contain subpages to represent nested documentation set structure.
func (PageResponseOutput) Content ¶
func (o PageResponseOutput) Content() pulumi.StringOutput
The Markdown content of the page. You can use (== include {path} ==) to include content from a Markdown file.
func (PageResponseOutput) ElementType ¶
func (PageResponseOutput) ElementType() reflect.Type
func (PageResponseOutput) Name ¶
func (o PageResponseOutput) Name() pulumi.StringOutput
The name of the page. It will be used as an identity of the page to generate URI of the page, text of the link to this page in navigation, etc. The full page name (start from the root page name to this page concatenated with `.`) can be used as reference to the page in your documentation. For example: pages: - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java content: (== include tutorial_java.md ==) You can reference `Java` page using Markdown reference link syntax: `Java`.
func (PageResponseOutput) Subpages ¶
func (o PageResponseOutput) Subpages() PageResponseArrayOutput
Subpages of this page. The order of subpages specified here will be honored in the generated docset.
func (PageResponseOutput) ToPageResponseOutput ¶
func (o PageResponseOutput) ToPageResponseOutput() PageResponseOutput
func (PageResponseOutput) ToPageResponseOutputWithContext ¶
func (o PageResponseOutput) ToPageResponseOutputWithContext(ctx context.Context) PageResponseOutput
type Quota ¶
type Quota struct { // List of `QuotaLimit` definitions for the service. Limits []QuotaLimit `pulumi:"limits"` // List of `MetricRule` definitions, each one mapping a selected method to one or more metrics. MetricRules []MetricRule `pulumi:"metricRules"` }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
type QuotaArgs ¶
type QuotaArgs struct { // List of `QuotaLimit` definitions for the service. Limits QuotaLimitArrayInput `pulumi:"limits"` // List of `MetricRule` definitions, each one mapping a selected method to one or more metrics. MetricRules MetricRuleArrayInput `pulumi:"metricRules"` }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
func (QuotaArgs) ElementType ¶
func (QuotaArgs) ToQuotaOutput ¶
func (i QuotaArgs) ToQuotaOutput() QuotaOutput
func (QuotaArgs) ToQuotaOutputWithContext ¶
func (i QuotaArgs) ToQuotaOutputWithContext(ctx context.Context) QuotaOutput
func (QuotaArgs) ToQuotaPtrOutput ¶
func (i QuotaArgs) ToQuotaPtrOutput() QuotaPtrOutput
func (QuotaArgs) ToQuotaPtrOutputWithContext ¶
func (i QuotaArgs) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
type QuotaInput ¶
type QuotaInput interface { pulumi.Input ToQuotaOutput() QuotaOutput ToQuotaOutputWithContext(context.Context) QuotaOutput }
QuotaInput is an input type that accepts QuotaArgs and QuotaOutput values. You can construct a concrete instance of `QuotaInput` via:
QuotaArgs{...}
type QuotaLimit ¶
type QuotaLimit struct { // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. DefaultLimit *string `pulumi:"defaultLimit"` // Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`). Description *string `pulumi:"description"` // User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration. DisplayName *string `pulumi:"displayName"` // Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only. Duration *string `pulumi:"duration"` // Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only. FreeTier *string `pulumi:"freeTier"` // Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only. MaxLimit *string `pulumi:"maxLimit"` // The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config. Metric *string `pulumi:"metric"` // Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters. Name *string `pulumi:"name"` // Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax. Unit *string `pulumi:"unit"` // Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported. Values map[string]string `pulumi:"values"` }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
type QuotaLimitArgs ¶
type QuotaLimitArgs struct { // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. DefaultLimit pulumi.StringPtrInput `pulumi:"defaultLimit"` // Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`). Description pulumi.StringPtrInput `pulumi:"description"` // User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only. Duration pulumi.StringPtrInput `pulumi:"duration"` // Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only. FreeTier pulumi.StringPtrInput `pulumi:"freeTier"` // Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only. MaxLimit pulumi.StringPtrInput `pulumi:"maxLimit"` // The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config. Metric pulumi.StringPtrInput `pulumi:"metric"` // Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters. Name pulumi.StringPtrInput `pulumi:"name"` // Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax. Unit pulumi.StringPtrInput `pulumi:"unit"` // Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported. Values pulumi.StringMapInput `pulumi:"values"` }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
func (QuotaLimitArgs) ElementType ¶
func (QuotaLimitArgs) ElementType() reflect.Type
func (QuotaLimitArgs) ToQuotaLimitOutput ¶
func (i QuotaLimitArgs) ToQuotaLimitOutput() QuotaLimitOutput
func (QuotaLimitArgs) ToQuotaLimitOutputWithContext ¶
func (i QuotaLimitArgs) ToQuotaLimitOutputWithContext(ctx context.Context) QuotaLimitOutput
type QuotaLimitArray ¶
type QuotaLimitArray []QuotaLimitInput
func (QuotaLimitArray) ElementType ¶
func (QuotaLimitArray) ElementType() reflect.Type
func (QuotaLimitArray) ToQuotaLimitArrayOutput ¶
func (i QuotaLimitArray) ToQuotaLimitArrayOutput() QuotaLimitArrayOutput
func (QuotaLimitArray) ToQuotaLimitArrayOutputWithContext ¶
func (i QuotaLimitArray) ToQuotaLimitArrayOutputWithContext(ctx context.Context) QuotaLimitArrayOutput
type QuotaLimitArrayInput ¶
type QuotaLimitArrayInput interface { pulumi.Input ToQuotaLimitArrayOutput() QuotaLimitArrayOutput ToQuotaLimitArrayOutputWithContext(context.Context) QuotaLimitArrayOutput }
QuotaLimitArrayInput is an input type that accepts QuotaLimitArray and QuotaLimitArrayOutput values. You can construct a concrete instance of `QuotaLimitArrayInput` via:
QuotaLimitArray{ QuotaLimitArgs{...} }
type QuotaLimitArrayOutput ¶
type QuotaLimitArrayOutput struct{ *pulumi.OutputState }
func (QuotaLimitArrayOutput) ElementType ¶
func (QuotaLimitArrayOutput) ElementType() reflect.Type
func (QuotaLimitArrayOutput) Index ¶
func (o QuotaLimitArrayOutput) Index(i pulumi.IntInput) QuotaLimitOutput
func (QuotaLimitArrayOutput) ToQuotaLimitArrayOutput ¶
func (o QuotaLimitArrayOutput) ToQuotaLimitArrayOutput() QuotaLimitArrayOutput
func (QuotaLimitArrayOutput) ToQuotaLimitArrayOutputWithContext ¶
func (o QuotaLimitArrayOutput) ToQuotaLimitArrayOutputWithContext(ctx context.Context) QuotaLimitArrayOutput
type QuotaLimitInput ¶
type QuotaLimitInput interface { pulumi.Input ToQuotaLimitOutput() QuotaLimitOutput ToQuotaLimitOutputWithContext(context.Context) QuotaLimitOutput }
QuotaLimitInput is an input type that accepts QuotaLimitArgs and QuotaLimitOutput values. You can construct a concrete instance of `QuotaLimitInput` via:
QuotaLimitArgs{...}
type QuotaLimitOutput ¶
type QuotaLimitOutput struct{ *pulumi.OutputState }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
func (QuotaLimitOutput) DefaultLimit ¶
func (o QuotaLimitOutput) DefaultLimit() pulumi.StringPtrOutput
Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.
func (QuotaLimitOutput) Description ¶
func (o QuotaLimitOutput) Description() pulumi.StringPtrOutput
Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).
func (QuotaLimitOutput) DisplayName ¶
func (o QuotaLimitOutput) DisplayName() pulumi.StringPtrOutput
User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.
func (QuotaLimitOutput) Duration ¶
func (o QuotaLimitOutput) Duration() pulumi.StringPtrOutput
Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only.
func (QuotaLimitOutput) ElementType ¶
func (QuotaLimitOutput) ElementType() reflect.Type
func (QuotaLimitOutput) FreeTier ¶
func (o QuotaLimitOutput) FreeTier() pulumi.StringPtrOutput
Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.
func (QuotaLimitOutput) MaxLimit ¶
func (o QuotaLimitOutput) MaxLimit() pulumi.StringPtrOutput
Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.
func (QuotaLimitOutput) Metric ¶
func (o QuotaLimitOutput) Metric() pulumi.StringPtrOutput
The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.
func (QuotaLimitOutput) Name ¶
func (o QuotaLimitOutput) Name() pulumi.StringPtrOutput
Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.
func (QuotaLimitOutput) ToQuotaLimitOutput ¶
func (o QuotaLimitOutput) ToQuotaLimitOutput() QuotaLimitOutput
func (QuotaLimitOutput) ToQuotaLimitOutputWithContext ¶
func (o QuotaLimitOutput) ToQuotaLimitOutputWithContext(ctx context.Context) QuotaLimitOutput
func (QuotaLimitOutput) Unit ¶
func (o QuotaLimitOutput) Unit() pulumi.StringPtrOutput
Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.
func (QuotaLimitOutput) Values ¶
func (o QuotaLimitOutput) Values() pulumi.StringMapOutput
Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.
type QuotaLimitResponse ¶
type QuotaLimitResponse struct { // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. DefaultLimit string `pulumi:"defaultLimit"` // Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`). Description string `pulumi:"description"` // User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration. DisplayName string `pulumi:"displayName"` // Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only. Duration string `pulumi:"duration"` // Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only. FreeTier string `pulumi:"freeTier"` // Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only. MaxLimit string `pulumi:"maxLimit"` // The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config. Metric string `pulumi:"metric"` // Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters. Name string `pulumi:"name"` // Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax. Unit string `pulumi:"unit"` // Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported. Values map[string]string `pulumi:"values"` }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
type QuotaLimitResponseArgs ¶
type QuotaLimitResponseArgs struct { // Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only. DefaultLimit pulumi.StringInput `pulumi:"defaultLimit"` // Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`). Description pulumi.StringInput `pulumi:"description"` // User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration. DisplayName pulumi.StringInput `pulumi:"displayName"` // Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only. Duration pulumi.StringInput `pulumi:"duration"` // Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only. FreeTier pulumi.StringInput `pulumi:"freeTier"` // Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only. MaxLimit pulumi.StringInput `pulumi:"maxLimit"` // The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config. Metric pulumi.StringInput `pulumi:"metric"` // Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters. Name pulumi.StringInput `pulumi:"name"` // Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax. Unit pulumi.StringInput `pulumi:"unit"` // Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported. Values pulumi.StringMapInput `pulumi:"values"` }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
func (QuotaLimitResponseArgs) ElementType ¶
func (QuotaLimitResponseArgs) ElementType() reflect.Type
func (QuotaLimitResponseArgs) ToQuotaLimitResponseOutput ¶
func (i QuotaLimitResponseArgs) ToQuotaLimitResponseOutput() QuotaLimitResponseOutput
func (QuotaLimitResponseArgs) ToQuotaLimitResponseOutputWithContext ¶
func (i QuotaLimitResponseArgs) ToQuotaLimitResponseOutputWithContext(ctx context.Context) QuotaLimitResponseOutput
type QuotaLimitResponseArray ¶
type QuotaLimitResponseArray []QuotaLimitResponseInput
func (QuotaLimitResponseArray) ElementType ¶
func (QuotaLimitResponseArray) ElementType() reflect.Type
func (QuotaLimitResponseArray) ToQuotaLimitResponseArrayOutput ¶
func (i QuotaLimitResponseArray) ToQuotaLimitResponseArrayOutput() QuotaLimitResponseArrayOutput
func (QuotaLimitResponseArray) ToQuotaLimitResponseArrayOutputWithContext ¶
func (i QuotaLimitResponseArray) ToQuotaLimitResponseArrayOutputWithContext(ctx context.Context) QuotaLimitResponseArrayOutput
type QuotaLimitResponseArrayInput ¶
type QuotaLimitResponseArrayInput interface { pulumi.Input ToQuotaLimitResponseArrayOutput() QuotaLimitResponseArrayOutput ToQuotaLimitResponseArrayOutputWithContext(context.Context) QuotaLimitResponseArrayOutput }
QuotaLimitResponseArrayInput is an input type that accepts QuotaLimitResponseArray and QuotaLimitResponseArrayOutput values. You can construct a concrete instance of `QuotaLimitResponseArrayInput` via:
QuotaLimitResponseArray{ QuotaLimitResponseArgs{...} }
type QuotaLimitResponseArrayOutput ¶
type QuotaLimitResponseArrayOutput struct{ *pulumi.OutputState }
func (QuotaLimitResponseArrayOutput) ElementType ¶
func (QuotaLimitResponseArrayOutput) ElementType() reflect.Type
func (QuotaLimitResponseArrayOutput) Index ¶
func (o QuotaLimitResponseArrayOutput) Index(i pulumi.IntInput) QuotaLimitResponseOutput
func (QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutput ¶
func (o QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutput() QuotaLimitResponseArrayOutput
func (QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutputWithContext ¶
func (o QuotaLimitResponseArrayOutput) ToQuotaLimitResponseArrayOutputWithContext(ctx context.Context) QuotaLimitResponseArrayOutput
type QuotaLimitResponseInput ¶
type QuotaLimitResponseInput interface { pulumi.Input ToQuotaLimitResponseOutput() QuotaLimitResponseOutput ToQuotaLimitResponseOutputWithContext(context.Context) QuotaLimitResponseOutput }
QuotaLimitResponseInput is an input type that accepts QuotaLimitResponseArgs and QuotaLimitResponseOutput values. You can construct a concrete instance of `QuotaLimitResponseInput` via:
QuotaLimitResponseArgs{...}
type QuotaLimitResponseOutput ¶
type QuotaLimitResponseOutput struct{ *pulumi.OutputState }
`QuotaLimit` defines a specific limit that applies over a specified duration for a limit type. There can be at most one limit for a duration and limit type combination defined within a `QuotaGroup`.
func (QuotaLimitResponseOutput) DefaultLimit ¶
func (o QuotaLimitResponseOutput) DefaultLimit() pulumi.StringOutput
Default number of tokens that can be consumed during the specified duration. This is the number of tokens assigned when a client application developer activates the service for his/her project. Specifying a value of 0 will block all requests. This can be used if you are provisioning quota to selected consumers and blocking others. Similarly, a value of -1 will indicate an unlimited quota. No other negative values are allowed. Used by group-based quotas only.
func (QuotaLimitResponseOutput) Description ¶
func (o QuotaLimitResponseOutput) Description() pulumi.StringOutput
Optional. User-visible, extended description for this quota limit. Should be used only when more context is needed to understand this limit than provided by the limit's display name (see: `display_name`).
func (QuotaLimitResponseOutput) DisplayName ¶
func (o QuotaLimitResponseOutput) DisplayName() pulumi.StringOutput
User-visible display name for this limit. Optional. If not set, the UI will provide a default display name based on the quota configuration. This field can be used to override the default display name generated from the configuration.
func (QuotaLimitResponseOutput) Duration ¶
func (o QuotaLimitResponseOutput) Duration() pulumi.StringOutput
Duration of this limit in textual notation. Must be "100s" or "1d". Used by group-based quotas only.
func (QuotaLimitResponseOutput) ElementType ¶
func (QuotaLimitResponseOutput) ElementType() reflect.Type
func (QuotaLimitResponseOutput) FreeTier ¶
func (o QuotaLimitResponseOutput) FreeTier() pulumi.StringOutput
Free tier value displayed in the Developers Console for this limit. The free tier is the number of tokens that will be subtracted from the billed amount when billing is enabled. This field can only be set on a limit with duration "1d", in a billable group; it is invalid on any other limit. If this field is not set, it defaults to 0, indicating that there is no free tier for this service. Used by group-based quotas only.
func (QuotaLimitResponseOutput) MaxLimit ¶
func (o QuotaLimitResponseOutput) MaxLimit() pulumi.StringOutput
Maximum number of tokens that can be consumed during the specified duration. Client application developers can override the default limit up to this maximum. If specified, this value cannot be set to a value less than the default limit. If not specified, it is set to the default limit. To allow clients to apply overrides with no upper bound, set this to -1, indicating unlimited maximum quota. Used by group-based quotas only.
func (QuotaLimitResponseOutput) Metric ¶
func (o QuotaLimitResponseOutput) Metric() pulumi.StringOutput
The name of the metric this quota limit applies to. The quota limits with the same metric will be checked together during runtime. The metric must be defined within the service config.
func (QuotaLimitResponseOutput) Name ¶
func (o QuotaLimitResponseOutput) Name() pulumi.StringOutput
Name of the quota limit. The name must be provided, and it must be unique within the service. The name can only include alphanumeric characters as well as '-'. The maximum length of the limit name is 64 characters.
func (QuotaLimitResponseOutput) ToQuotaLimitResponseOutput ¶
func (o QuotaLimitResponseOutput) ToQuotaLimitResponseOutput() QuotaLimitResponseOutput
func (QuotaLimitResponseOutput) ToQuotaLimitResponseOutputWithContext ¶
func (o QuotaLimitResponseOutput) ToQuotaLimitResponseOutputWithContext(ctx context.Context) QuotaLimitResponseOutput
func (QuotaLimitResponseOutput) Unit ¶
func (o QuotaLimitResponseOutput) Unit() pulumi.StringOutput
Specify the unit of the quota limit. It uses the same syntax as Metric.unit. The supported unit kinds are determined by the quota backend system. Here are some examples: * "1/min/{project}" for quota per minute per project. Note: the order of unit components is insignificant. The "1" at the beginning is required to follow the metric unit syntax.
func (QuotaLimitResponseOutput) Values ¶
func (o QuotaLimitResponseOutput) Values() pulumi.StringMapOutput
Tiered limit values. You must specify this as a key:value pair, with an integer value that is the maximum number of requests allowed for the specified unit. Currently only STANDARD is supported.
type QuotaOutput ¶
type QuotaOutput struct{ *pulumi.OutputState }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
func (QuotaOutput) ElementType ¶
func (QuotaOutput) ElementType() reflect.Type
func (QuotaOutput) Limits ¶
func (o QuotaOutput) Limits() QuotaLimitArrayOutput
List of `QuotaLimit` definitions for the service.
func (QuotaOutput) MetricRules ¶
func (o QuotaOutput) MetricRules() MetricRuleArrayOutput
List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
func (QuotaOutput) ToQuotaOutput ¶
func (o QuotaOutput) ToQuotaOutput() QuotaOutput
func (QuotaOutput) ToQuotaOutputWithContext ¶
func (o QuotaOutput) ToQuotaOutputWithContext(ctx context.Context) QuotaOutput
func (QuotaOutput) ToQuotaPtrOutput ¶
func (o QuotaOutput) ToQuotaPtrOutput() QuotaPtrOutput
func (QuotaOutput) ToQuotaPtrOutputWithContext ¶
func (o QuotaOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
type QuotaPtrInput ¶
type QuotaPtrInput interface { pulumi.Input ToQuotaPtrOutput() QuotaPtrOutput ToQuotaPtrOutputWithContext(context.Context) QuotaPtrOutput }
QuotaPtrInput is an input type that accepts QuotaArgs, QuotaPtr and QuotaPtrOutput values. You can construct a concrete instance of `QuotaPtrInput` via:
QuotaArgs{...} or: nil
func QuotaPtr ¶
func QuotaPtr(v *QuotaArgs) QuotaPtrInput
type QuotaPtrOutput ¶
type QuotaPtrOutput struct{ *pulumi.OutputState }
func (QuotaPtrOutput) Elem ¶
func (o QuotaPtrOutput) Elem() QuotaOutput
func (QuotaPtrOutput) ElementType ¶
func (QuotaPtrOutput) ElementType() reflect.Type
func (QuotaPtrOutput) Limits ¶
func (o QuotaPtrOutput) Limits() QuotaLimitArrayOutput
List of `QuotaLimit` definitions for the service.
func (QuotaPtrOutput) MetricRules ¶
func (o QuotaPtrOutput) MetricRules() MetricRuleArrayOutput
List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
func (QuotaPtrOutput) ToQuotaPtrOutput ¶
func (o QuotaPtrOutput) ToQuotaPtrOutput() QuotaPtrOutput
func (QuotaPtrOutput) ToQuotaPtrOutputWithContext ¶
func (o QuotaPtrOutput) ToQuotaPtrOutputWithContext(ctx context.Context) QuotaPtrOutput
type QuotaResponse ¶
type QuotaResponse struct { // List of `QuotaLimit` definitions for the service. Limits []QuotaLimitResponse `pulumi:"limits"` // List of `MetricRule` definitions, each one mapping a selected method to one or more metrics. MetricRules []MetricRuleResponse `pulumi:"metricRules"` }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
type QuotaResponseArgs ¶
type QuotaResponseArgs struct { // List of `QuotaLimit` definitions for the service. Limits QuotaLimitResponseArrayInput `pulumi:"limits"` // List of `MetricRule` definitions, each one mapping a selected method to one or more metrics. MetricRules MetricRuleResponseArrayInput `pulumi:"metricRules"` }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
func (QuotaResponseArgs) ElementType ¶
func (QuotaResponseArgs) ElementType() reflect.Type
func (QuotaResponseArgs) ToQuotaResponseOutput ¶
func (i QuotaResponseArgs) ToQuotaResponseOutput() QuotaResponseOutput
func (QuotaResponseArgs) ToQuotaResponseOutputWithContext ¶
func (i QuotaResponseArgs) ToQuotaResponseOutputWithContext(ctx context.Context) QuotaResponseOutput
func (QuotaResponseArgs) ToQuotaResponsePtrOutput ¶
func (i QuotaResponseArgs) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
func (QuotaResponseArgs) ToQuotaResponsePtrOutputWithContext ¶
func (i QuotaResponseArgs) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
type QuotaResponseInput ¶
type QuotaResponseInput interface { pulumi.Input ToQuotaResponseOutput() QuotaResponseOutput ToQuotaResponseOutputWithContext(context.Context) QuotaResponseOutput }
QuotaResponseInput is an input type that accepts QuotaResponseArgs and QuotaResponseOutput values. You can construct a concrete instance of `QuotaResponseInput` via:
QuotaResponseArgs{...}
type QuotaResponseOutput ¶
type QuotaResponseOutput struct{ *pulumi.OutputState }
Quota configuration helps to achieve fairness and budgeting in service usage. The metric based quota configuration works this way: - The service configuration defines a set of metrics. - For API calls, the quota.metric_rules maps methods to metrics with corresponding costs. - The quota.limits defines limits on the metrics, which will be used for quota checks at runtime. An example quota configuration in yaml format: quota: limits: - name: apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/{project}" # rate limit for consumer projects values: STANDARD: 10000 # The metric rules bind all methods to the read_calls metric, # except for the UpdateBook and DeleteBook methods. These two methods # are mapped to the write_calls metric, with the UpdateBook method # consuming at twice rate as the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.googleapis.com/read_calls: 1 - selector: google.example.library.v1.LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 - selector: google.example.library.v1.LibraryService.DeleteBook metric_costs: library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics: - name: library.googleapis.com/read_calls display_name: Read requests metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
func (QuotaResponseOutput) ElementType ¶
func (QuotaResponseOutput) ElementType() reflect.Type
func (QuotaResponseOutput) Limits ¶
func (o QuotaResponseOutput) Limits() QuotaLimitResponseArrayOutput
List of `QuotaLimit` definitions for the service.
func (QuotaResponseOutput) MetricRules ¶
func (o QuotaResponseOutput) MetricRules() MetricRuleResponseArrayOutput
List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
func (QuotaResponseOutput) ToQuotaResponseOutput ¶
func (o QuotaResponseOutput) ToQuotaResponseOutput() QuotaResponseOutput
func (QuotaResponseOutput) ToQuotaResponseOutputWithContext ¶
func (o QuotaResponseOutput) ToQuotaResponseOutputWithContext(ctx context.Context) QuotaResponseOutput
func (QuotaResponseOutput) ToQuotaResponsePtrOutput ¶
func (o QuotaResponseOutput) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
func (QuotaResponseOutput) ToQuotaResponsePtrOutputWithContext ¶
func (o QuotaResponseOutput) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
type QuotaResponsePtrInput ¶
type QuotaResponsePtrInput interface { pulumi.Input ToQuotaResponsePtrOutput() QuotaResponsePtrOutput ToQuotaResponsePtrOutputWithContext(context.Context) QuotaResponsePtrOutput }
QuotaResponsePtrInput is an input type that accepts QuotaResponseArgs, QuotaResponsePtr and QuotaResponsePtrOutput values. You can construct a concrete instance of `QuotaResponsePtrInput` via:
QuotaResponseArgs{...} or: nil
func QuotaResponsePtr ¶
func QuotaResponsePtr(v *QuotaResponseArgs) QuotaResponsePtrInput
type QuotaResponsePtrOutput ¶
type QuotaResponsePtrOutput struct{ *pulumi.OutputState }
func (QuotaResponsePtrOutput) Elem ¶
func (o QuotaResponsePtrOutput) Elem() QuotaResponseOutput
func (QuotaResponsePtrOutput) ElementType ¶
func (QuotaResponsePtrOutput) ElementType() reflect.Type
func (QuotaResponsePtrOutput) Limits ¶
func (o QuotaResponsePtrOutput) Limits() QuotaLimitResponseArrayOutput
List of `QuotaLimit` definitions for the service.
func (QuotaResponsePtrOutput) MetricRules ¶
func (o QuotaResponsePtrOutput) MetricRules() MetricRuleResponseArrayOutput
List of `MetricRule` definitions, each one mapping a selected method to one or more metrics.
func (QuotaResponsePtrOutput) ToQuotaResponsePtrOutput ¶
func (o QuotaResponsePtrOutput) ToQuotaResponsePtrOutput() QuotaResponsePtrOutput
func (QuotaResponsePtrOutput) ToQuotaResponsePtrOutputWithContext ¶
func (o QuotaResponsePtrOutput) ToQuotaResponsePtrOutputWithContext(ctx context.Context) QuotaResponsePtrOutput
type Rollout ¶ added in v0.3.0
type Rollout struct { pulumi.CustomResourceState // Creation time of the rollout. Readonly. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The strategy associated with a rollout to delete a `ManagedService`. Readonly. DeleteServiceStrategy DeleteServiceStrategyResponseOutput `pulumi:"deleteServiceStrategy"` // Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1' RolloutId pulumi.StringOutput `pulumi:"rolloutId"` // The name of the service associated with this Rollout. ServiceName pulumi.StringOutput `pulumi:"serviceName"` // The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. Status pulumi.StringOutput `pulumi:"status"` // Google Service Control selects service configurations based on traffic percentage. TrafficPercentStrategy TrafficPercentStrategyResponseOutput `pulumi:"trafficPercentStrategy"` }
Creates a new service configuration rollout. Based on rollout, the Google Service Management will roll out the service configurations to different backend services. For example, the logging configuration will be pushed to Google Cloud Logging. Please note that any previous pending and running Rollouts and associated Operations will be automatically cancelled so that the latest Rollout will not be blocked by previous Rollouts. Only the 100 most recent (in any state) and the last 10 successful (if not already part of the set of 100 most recent) rollouts are kept for each service. The rest will be deleted eventually. Operation
func GetRollout ¶ added in v0.3.0
func GetRollout(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RolloutState, opts ...pulumi.ResourceOption) (*Rollout, error)
GetRollout gets an existing Rollout resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRollout ¶ added in v0.3.0
func NewRollout(ctx *pulumi.Context, name string, args *RolloutArgs, opts ...pulumi.ResourceOption) (*Rollout, error)
NewRollout registers a new resource with the given unique name, arguments, and options.
func (*Rollout) ElementType ¶ added in v0.3.0
func (*Rollout) ToRolloutOutput ¶ added in v0.3.0
func (i *Rollout) ToRolloutOutput() RolloutOutput
func (*Rollout) ToRolloutOutputWithContext ¶ added in v0.3.0
func (i *Rollout) ToRolloutOutputWithContext(ctx context.Context) RolloutOutput
type RolloutArgs ¶ added in v0.3.0
type RolloutArgs struct { // Creation time of the rollout. Readonly. CreateTime pulumi.StringPtrInput // The strategy associated with a rollout to delete a `ManagedService`. Readonly. DeleteServiceStrategy DeleteServiceStrategyPtrInput // Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1' RolloutId pulumi.StringPtrInput // The name of the service associated with this Rollout. ServiceName pulumi.StringInput // The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. Status pulumi.StringPtrInput // Google Service Control selects service configurations based on traffic percentage. TrafficPercentStrategy TrafficPercentStrategyPtrInput }
The set of arguments for constructing a Rollout resource.
func (RolloutArgs) ElementType ¶ added in v0.3.0
func (RolloutArgs) ElementType() reflect.Type
type RolloutInput ¶ added in v0.3.0
type RolloutInput interface { pulumi.Input ToRolloutOutput() RolloutOutput ToRolloutOutputWithContext(ctx context.Context) RolloutOutput }
type RolloutOutput ¶ added in v0.3.0
type RolloutOutput struct {
*pulumi.OutputState
}
func (RolloutOutput) ElementType ¶ added in v0.3.0
func (RolloutOutput) ElementType() reflect.Type
func (RolloutOutput) ToRolloutOutput ¶ added in v0.3.0
func (o RolloutOutput) ToRolloutOutput() RolloutOutput
func (RolloutOutput) ToRolloutOutputWithContext ¶ added in v0.3.0
func (o RolloutOutput) ToRolloutOutputWithContext(ctx context.Context) RolloutOutput
type RolloutState ¶ added in v0.3.0
type RolloutState struct { // Creation time of the rollout. Readonly. CreateTime pulumi.StringPtrInput // The strategy associated with a rollout to delete a `ManagedService`. Readonly. DeleteServiceStrategy DeleteServiceStrategyResponsePtrInput // Optional. Unique identifier of this Rollout. Must be no longer than 63 characters and only lower case letters, digits, '.', '_' and '-' are allowed. If not specified by client, the server will generate one. The generated id will have the form of , where "date" is the create date in ISO 8601 format. "revision number" is a monotonically increasing positive number that is reset every day for each service. An example of the generated rollout_id is '2016-02-16r1' RolloutId pulumi.StringPtrInput // The name of the service associated with this Rollout. ServiceName pulumi.StringPtrInput // The status of this rollout. Readonly. In case of a failed rollout, the system will automatically rollback to the current Rollout version. Readonly. Status pulumi.StringPtrInput // Google Service Control selects service configurations based on traffic percentage. TrafficPercentStrategy TrafficPercentStrategyResponsePtrInput }
func (RolloutState) ElementType ¶ added in v0.3.0
func (RolloutState) ElementType() reflect.Type
type Service ¶
type Service struct { pulumi.CustomResourceState // ID of the project that produces and owns this service. ProducerProjectId pulumi.StringOutput `pulumi:"producerProjectId"` // The name of the service. See the [overview](/service-management/overview) for naming requirements. ServiceName pulumi.StringOutput `pulumi:"serviceName"` }
Creates a new managed service. A managed service is immutable, and is subject to mandatory 30-day data retention. You cannot move a service or recreate it within 30 days after deletion. One producer project can own no more than 500 services. For security and reliability purposes, a production service should be hosted in a dedicated producer project. Operation
func GetService ¶
func GetService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)
GetService gets an existing Service resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewService ¶
func NewService(ctx *pulumi.Context, name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)
NewService registers a new resource with the given unique name, arguments, and options.
func (*Service) ElementType ¶
func (*Service) ToServiceOutput ¶
func (i *Service) ToServiceOutput() ServiceOutput
func (*Service) ToServiceOutputWithContext ¶
func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceArgs ¶
type ServiceArgs struct { // ID of the project that produces and owns this service. ProducerProjectId pulumi.StringPtrInput // The name of the service. See the [overview](/service-management/overview) for naming requirements. ServiceName pulumi.StringPtrInput }
The set of arguments for constructing a Service resource.
func (ServiceArgs) ElementType ¶
func (ServiceArgs) ElementType() reflect.Type
type ServiceConsumerIamPolicy ¶
type ServiceConsumerIamPolicy struct { pulumi.CustomResourceState // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayOutput `pulumi:"auditConfigs"` // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func GetServiceConsumerIamPolicy ¶
func GetServiceConsumerIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceConsumerIamPolicyState, opts ...pulumi.ResourceOption) (*ServiceConsumerIamPolicy, error)
GetServiceConsumerIamPolicy gets an existing ServiceConsumerIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServiceConsumerIamPolicy ¶
func NewServiceConsumerIamPolicy(ctx *pulumi.Context, name string, args *ServiceConsumerIamPolicyArgs, opts ...pulumi.ResourceOption) (*ServiceConsumerIamPolicy, error)
NewServiceConsumerIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ServiceConsumerIamPolicy) ElementType ¶
func (*ServiceConsumerIamPolicy) ElementType() reflect.Type
func (*ServiceConsumerIamPolicy) ToServiceConsumerIamPolicyOutput ¶
func (i *ServiceConsumerIamPolicy) ToServiceConsumerIamPolicyOutput() ServiceConsumerIamPolicyOutput
func (*ServiceConsumerIamPolicy) ToServiceConsumerIamPolicyOutputWithContext ¶
func (i *ServiceConsumerIamPolicy) ToServiceConsumerIamPolicyOutputWithContext(ctx context.Context) ServiceConsumerIamPolicyOutput
type ServiceConsumerIamPolicyArgs ¶
type ServiceConsumerIamPolicyArgs struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigArrayInput // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingArrayInput ConsumerId pulumi.StringInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput ServiceId pulumi.StringInput // OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` UpdateMask pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a ServiceConsumerIamPolicy resource.
func (ServiceConsumerIamPolicyArgs) ElementType ¶
func (ServiceConsumerIamPolicyArgs) ElementType() reflect.Type
type ServiceConsumerIamPolicyInput ¶
type ServiceConsumerIamPolicyInput interface { pulumi.Input ToServiceConsumerIamPolicyOutput() ServiceConsumerIamPolicyOutput ToServiceConsumerIamPolicyOutputWithContext(ctx context.Context) ServiceConsumerIamPolicyOutput }
type ServiceConsumerIamPolicyOutput ¶
type ServiceConsumerIamPolicyOutput struct {
*pulumi.OutputState
}
func (ServiceConsumerIamPolicyOutput) ElementType ¶
func (ServiceConsumerIamPolicyOutput) ElementType() reflect.Type
func (ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutput ¶
func (o ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutput() ServiceConsumerIamPolicyOutput
func (ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutputWithContext ¶
func (o ServiceConsumerIamPolicyOutput) ToServiceConsumerIamPolicyOutputWithContext(ctx context.Context) ServiceConsumerIamPolicyOutput
type ServiceConsumerIamPolicyState ¶
type ServiceConsumerIamPolicyState struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayInput // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingResponseArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
func (ServiceConsumerIamPolicyState) ElementType ¶
func (ServiceConsumerIamPolicyState) ElementType() reflect.Type
type ServiceIamPolicy ¶
type ServiceIamPolicy struct { pulumi.CustomResourceState // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayOutput `pulumi:"auditConfigs"` // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingResponseArrayOutput `pulumi:"bindings"` // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringOutput `pulumi:"etag"` // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntOutput `pulumi:"version"` }
Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
func GetServiceIamPolicy ¶
func GetServiceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceIamPolicyState, opts ...pulumi.ResourceOption) (*ServiceIamPolicy, error)
GetServiceIamPolicy gets an existing ServiceIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServiceIamPolicy ¶
func NewServiceIamPolicy(ctx *pulumi.Context, name string, args *ServiceIamPolicyArgs, opts ...pulumi.ResourceOption) (*ServiceIamPolicy, error)
NewServiceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*ServiceIamPolicy) ElementType ¶
func (*ServiceIamPolicy) ElementType() reflect.Type
func (*ServiceIamPolicy) ToServiceIamPolicyOutput ¶
func (i *ServiceIamPolicy) ToServiceIamPolicyOutput() ServiceIamPolicyOutput
func (*ServiceIamPolicy) ToServiceIamPolicyOutputWithContext ¶
func (i *ServiceIamPolicy) ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput
type ServiceIamPolicyArgs ¶
type ServiceIamPolicyArgs struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigArrayInput // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput ServiceId pulumi.StringInput // OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` UpdateMask pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
The set of arguments for constructing a ServiceIamPolicy resource.
func (ServiceIamPolicyArgs) ElementType ¶
func (ServiceIamPolicyArgs) ElementType() reflect.Type
type ServiceIamPolicyInput ¶
type ServiceIamPolicyInput interface { pulumi.Input ToServiceIamPolicyOutput() ServiceIamPolicyOutput ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput }
type ServiceIamPolicyOutput ¶
type ServiceIamPolicyOutput struct {
*pulumi.OutputState
}
func (ServiceIamPolicyOutput) ElementType ¶
func (ServiceIamPolicyOutput) ElementType() reflect.Type
func (ServiceIamPolicyOutput) ToServiceIamPolicyOutput ¶
func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutput() ServiceIamPolicyOutput
func (ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext ¶
func (o ServiceIamPolicyOutput) ToServiceIamPolicyOutputWithContext(ctx context.Context) ServiceIamPolicyOutput
type ServiceIamPolicyState ¶
type ServiceIamPolicyState struct { // Specifies cloud audit logging configuration for this policy. AuditConfigs AuditConfigResponseArrayInput // Associates a list of `members` to a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one member. Bindings BindingResponseArrayInput // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. Etag pulumi.StringPtrInput // Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). Version pulumi.IntPtrInput }
func (ServiceIamPolicyState) ElementType ¶
func (ServiceIamPolicyState) ElementType() reflect.Type
type ServiceInput ¶
type ServiceInput interface { pulumi.Input ToServiceOutput() ServiceOutput ToServiceOutputWithContext(ctx context.Context) ServiceOutput }
type ServiceOutput ¶
type ServiceOutput struct {
*pulumi.OutputState
}
func (ServiceOutput) ElementType ¶
func (ServiceOutput) ElementType() reflect.Type
func (ServiceOutput) ToServiceOutput ¶
func (o ServiceOutput) ToServiceOutput() ServiceOutput
func (ServiceOutput) ToServiceOutputWithContext ¶
func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput
type ServiceState ¶
type ServiceState struct { // ID of the project that produces and owns this service. ProducerProjectId pulumi.StringPtrInput // The name of the service. See the [overview](/service-management/overview) for naming requirements. ServiceName pulumi.StringPtrInput }
func (ServiceState) ElementType ¶
func (ServiceState) ElementType() reflect.Type
type SourceContext ¶
type SourceContext struct { // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. FileName *string `pulumi:"fileName"` }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
type SourceContextArgs ¶
type SourceContextArgs struct { // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. FileName pulumi.StringPtrInput `pulumi:"fileName"` }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
func (SourceContextArgs) ElementType ¶
func (SourceContextArgs) ElementType() reflect.Type
func (SourceContextArgs) ToSourceContextOutput ¶
func (i SourceContextArgs) ToSourceContextOutput() SourceContextOutput
func (SourceContextArgs) ToSourceContextOutputWithContext ¶
func (i SourceContextArgs) ToSourceContextOutputWithContext(ctx context.Context) SourceContextOutput
func (SourceContextArgs) ToSourceContextPtrOutput ¶
func (i SourceContextArgs) ToSourceContextPtrOutput() SourceContextPtrOutput
func (SourceContextArgs) ToSourceContextPtrOutputWithContext ¶
func (i SourceContextArgs) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
type SourceContextInput ¶
type SourceContextInput interface { pulumi.Input ToSourceContextOutput() SourceContextOutput ToSourceContextOutputWithContext(context.Context) SourceContextOutput }
SourceContextInput is an input type that accepts SourceContextArgs and SourceContextOutput values. You can construct a concrete instance of `SourceContextInput` via:
SourceContextArgs{...}
type SourceContextOutput ¶
type SourceContextOutput struct{ *pulumi.OutputState }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
func (SourceContextOutput) ElementType ¶
func (SourceContextOutput) ElementType() reflect.Type
func (SourceContextOutput) FileName ¶
func (o SourceContextOutput) FileName() pulumi.StringPtrOutput
The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
func (SourceContextOutput) ToSourceContextOutput ¶
func (o SourceContextOutput) ToSourceContextOutput() SourceContextOutput
func (SourceContextOutput) ToSourceContextOutputWithContext ¶
func (o SourceContextOutput) ToSourceContextOutputWithContext(ctx context.Context) SourceContextOutput
func (SourceContextOutput) ToSourceContextPtrOutput ¶
func (o SourceContextOutput) ToSourceContextPtrOutput() SourceContextPtrOutput
func (SourceContextOutput) ToSourceContextPtrOutputWithContext ¶
func (o SourceContextOutput) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
type SourceContextPtrInput ¶
type SourceContextPtrInput interface { pulumi.Input ToSourceContextPtrOutput() SourceContextPtrOutput ToSourceContextPtrOutputWithContext(context.Context) SourceContextPtrOutput }
SourceContextPtrInput is an input type that accepts SourceContextArgs, SourceContextPtr and SourceContextPtrOutput values. You can construct a concrete instance of `SourceContextPtrInput` via:
SourceContextArgs{...} or: nil
func SourceContextPtr ¶
func SourceContextPtr(v *SourceContextArgs) SourceContextPtrInput
type SourceContextPtrOutput ¶
type SourceContextPtrOutput struct{ *pulumi.OutputState }
func (SourceContextPtrOutput) Elem ¶
func (o SourceContextPtrOutput) Elem() SourceContextOutput
func (SourceContextPtrOutput) ElementType ¶
func (SourceContextPtrOutput) ElementType() reflect.Type
func (SourceContextPtrOutput) FileName ¶
func (o SourceContextPtrOutput) FileName() pulumi.StringPtrOutput
The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
func (SourceContextPtrOutput) ToSourceContextPtrOutput ¶
func (o SourceContextPtrOutput) ToSourceContextPtrOutput() SourceContextPtrOutput
func (SourceContextPtrOutput) ToSourceContextPtrOutputWithContext ¶
func (o SourceContextPtrOutput) ToSourceContextPtrOutputWithContext(ctx context.Context) SourceContextPtrOutput
type SourceContextResponse ¶
type SourceContextResponse struct { // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. FileName string `pulumi:"fileName"` }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
type SourceContextResponseArgs ¶
type SourceContextResponseArgs struct { // The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. FileName pulumi.StringInput `pulumi:"fileName"` }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
func (SourceContextResponseArgs) ElementType ¶
func (SourceContextResponseArgs) ElementType() reflect.Type
func (SourceContextResponseArgs) ToSourceContextResponseOutput ¶
func (i SourceContextResponseArgs) ToSourceContextResponseOutput() SourceContextResponseOutput
func (SourceContextResponseArgs) ToSourceContextResponseOutputWithContext ¶
func (i SourceContextResponseArgs) ToSourceContextResponseOutputWithContext(ctx context.Context) SourceContextResponseOutput
type SourceContextResponseInput ¶
type SourceContextResponseInput interface { pulumi.Input ToSourceContextResponseOutput() SourceContextResponseOutput ToSourceContextResponseOutputWithContext(context.Context) SourceContextResponseOutput }
SourceContextResponseInput is an input type that accepts SourceContextResponseArgs and SourceContextResponseOutput values. You can construct a concrete instance of `SourceContextResponseInput` via:
SourceContextResponseArgs{...}
type SourceContextResponseOutput ¶
type SourceContextResponseOutput struct{ *pulumi.OutputState }
`SourceContext` represents information about the source of a protobuf element, like the file in which it is defined.
func (SourceContextResponseOutput) ElementType ¶
func (SourceContextResponseOutput) ElementType() reflect.Type
func (SourceContextResponseOutput) FileName ¶
func (o SourceContextResponseOutput) FileName() pulumi.StringOutput
The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`.
func (SourceContextResponseOutput) ToSourceContextResponseOutput ¶
func (o SourceContextResponseOutput) ToSourceContextResponseOutput() SourceContextResponseOutput
func (SourceContextResponseOutput) ToSourceContextResponseOutputWithContext ¶
func (o SourceContextResponseOutput) ToSourceContextResponseOutputWithContext(ctx context.Context) SourceContextResponseOutput
type SourceInfo ¶
type SourceInfo struct { // All files used during config generation. SourceFiles []map[string]string `pulumi:"sourceFiles"` }
Source information used to create a Service Config
type SourceInfoArgs ¶
type SourceInfoArgs struct { // All files used during config generation. SourceFiles pulumi.StringMapArrayInput `pulumi:"sourceFiles"` }
Source information used to create a Service Config
func (SourceInfoArgs) ElementType ¶
func (SourceInfoArgs) ElementType() reflect.Type
func (SourceInfoArgs) ToSourceInfoOutput ¶
func (i SourceInfoArgs) ToSourceInfoOutput() SourceInfoOutput
func (SourceInfoArgs) ToSourceInfoOutputWithContext ¶
func (i SourceInfoArgs) ToSourceInfoOutputWithContext(ctx context.Context) SourceInfoOutput
func (SourceInfoArgs) ToSourceInfoPtrOutput ¶
func (i SourceInfoArgs) ToSourceInfoPtrOutput() SourceInfoPtrOutput
func (SourceInfoArgs) ToSourceInfoPtrOutputWithContext ¶
func (i SourceInfoArgs) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
type SourceInfoInput ¶
type SourceInfoInput interface { pulumi.Input ToSourceInfoOutput() SourceInfoOutput ToSourceInfoOutputWithContext(context.Context) SourceInfoOutput }
SourceInfoInput is an input type that accepts SourceInfoArgs and SourceInfoOutput values. You can construct a concrete instance of `SourceInfoInput` via:
SourceInfoArgs{...}
type SourceInfoOutput ¶
type SourceInfoOutput struct{ *pulumi.OutputState }
Source information used to create a Service Config
func (SourceInfoOutput) ElementType ¶
func (SourceInfoOutput) ElementType() reflect.Type
func (SourceInfoOutput) SourceFiles ¶
func (o SourceInfoOutput) SourceFiles() pulumi.StringMapArrayOutput
All files used during config generation.
func (SourceInfoOutput) ToSourceInfoOutput ¶
func (o SourceInfoOutput) ToSourceInfoOutput() SourceInfoOutput
func (SourceInfoOutput) ToSourceInfoOutputWithContext ¶
func (o SourceInfoOutput) ToSourceInfoOutputWithContext(ctx context.Context) SourceInfoOutput
func (SourceInfoOutput) ToSourceInfoPtrOutput ¶
func (o SourceInfoOutput) ToSourceInfoPtrOutput() SourceInfoPtrOutput
func (SourceInfoOutput) ToSourceInfoPtrOutputWithContext ¶
func (o SourceInfoOutput) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
type SourceInfoPtrInput ¶
type SourceInfoPtrInput interface { pulumi.Input ToSourceInfoPtrOutput() SourceInfoPtrOutput ToSourceInfoPtrOutputWithContext(context.Context) SourceInfoPtrOutput }
SourceInfoPtrInput is an input type that accepts SourceInfoArgs, SourceInfoPtr and SourceInfoPtrOutput values. You can construct a concrete instance of `SourceInfoPtrInput` via:
SourceInfoArgs{...} or: nil
func SourceInfoPtr ¶
func SourceInfoPtr(v *SourceInfoArgs) SourceInfoPtrInput
type SourceInfoPtrOutput ¶
type SourceInfoPtrOutput struct{ *pulumi.OutputState }
func (SourceInfoPtrOutput) Elem ¶
func (o SourceInfoPtrOutput) Elem() SourceInfoOutput
func (SourceInfoPtrOutput) ElementType ¶
func (SourceInfoPtrOutput) ElementType() reflect.Type
func (SourceInfoPtrOutput) SourceFiles ¶
func (o SourceInfoPtrOutput) SourceFiles() pulumi.StringMapArrayOutput
All files used during config generation.
func (SourceInfoPtrOutput) ToSourceInfoPtrOutput ¶
func (o SourceInfoPtrOutput) ToSourceInfoPtrOutput() SourceInfoPtrOutput
func (SourceInfoPtrOutput) ToSourceInfoPtrOutputWithContext ¶
func (o SourceInfoPtrOutput) ToSourceInfoPtrOutputWithContext(ctx context.Context) SourceInfoPtrOutput
type SourceInfoResponse ¶
type SourceInfoResponse struct { // All files used during config generation. SourceFiles []map[string]string `pulumi:"sourceFiles"` }
Source information used to create a Service Config
type SourceInfoResponseArgs ¶
type SourceInfoResponseArgs struct { // All files used during config generation. SourceFiles pulumi.StringMapArrayInput `pulumi:"sourceFiles"` }
Source information used to create a Service Config
func (SourceInfoResponseArgs) ElementType ¶
func (SourceInfoResponseArgs) ElementType() reflect.Type
func (SourceInfoResponseArgs) ToSourceInfoResponseOutput ¶
func (i SourceInfoResponseArgs) ToSourceInfoResponseOutput() SourceInfoResponseOutput
func (SourceInfoResponseArgs) ToSourceInfoResponseOutputWithContext ¶
func (i SourceInfoResponseArgs) ToSourceInfoResponseOutputWithContext(ctx context.Context) SourceInfoResponseOutput
func (SourceInfoResponseArgs) ToSourceInfoResponsePtrOutput ¶
func (i SourceInfoResponseArgs) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
func (SourceInfoResponseArgs) ToSourceInfoResponsePtrOutputWithContext ¶
func (i SourceInfoResponseArgs) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
type SourceInfoResponseInput ¶
type SourceInfoResponseInput interface { pulumi.Input ToSourceInfoResponseOutput() SourceInfoResponseOutput ToSourceInfoResponseOutputWithContext(context.Context) SourceInfoResponseOutput }
SourceInfoResponseInput is an input type that accepts SourceInfoResponseArgs and SourceInfoResponseOutput values. You can construct a concrete instance of `SourceInfoResponseInput` via:
SourceInfoResponseArgs{...}
type SourceInfoResponseOutput ¶
type SourceInfoResponseOutput struct{ *pulumi.OutputState }
Source information used to create a Service Config
func (SourceInfoResponseOutput) ElementType ¶
func (SourceInfoResponseOutput) ElementType() reflect.Type
func (SourceInfoResponseOutput) SourceFiles ¶
func (o SourceInfoResponseOutput) SourceFiles() pulumi.StringMapArrayOutput
All files used during config generation.
func (SourceInfoResponseOutput) ToSourceInfoResponseOutput ¶
func (o SourceInfoResponseOutput) ToSourceInfoResponseOutput() SourceInfoResponseOutput
func (SourceInfoResponseOutput) ToSourceInfoResponseOutputWithContext ¶
func (o SourceInfoResponseOutput) ToSourceInfoResponseOutputWithContext(ctx context.Context) SourceInfoResponseOutput
func (SourceInfoResponseOutput) ToSourceInfoResponsePtrOutput ¶
func (o SourceInfoResponseOutput) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
func (SourceInfoResponseOutput) ToSourceInfoResponsePtrOutputWithContext ¶
func (o SourceInfoResponseOutput) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
type SourceInfoResponsePtrInput ¶
type SourceInfoResponsePtrInput interface { pulumi.Input ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput ToSourceInfoResponsePtrOutputWithContext(context.Context) SourceInfoResponsePtrOutput }
SourceInfoResponsePtrInput is an input type that accepts SourceInfoResponseArgs, SourceInfoResponsePtr and SourceInfoResponsePtrOutput values. You can construct a concrete instance of `SourceInfoResponsePtrInput` via:
SourceInfoResponseArgs{...} or: nil
func SourceInfoResponsePtr ¶
func SourceInfoResponsePtr(v *SourceInfoResponseArgs) SourceInfoResponsePtrInput
type SourceInfoResponsePtrOutput ¶
type SourceInfoResponsePtrOutput struct{ *pulumi.OutputState }
func (SourceInfoResponsePtrOutput) Elem ¶
func (o SourceInfoResponsePtrOutput) Elem() SourceInfoResponseOutput
func (SourceInfoResponsePtrOutput) ElementType ¶
func (SourceInfoResponsePtrOutput) ElementType() reflect.Type
func (SourceInfoResponsePtrOutput) SourceFiles ¶
func (o SourceInfoResponsePtrOutput) SourceFiles() pulumi.StringMapArrayOutput
All files used during config generation.
func (SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutput ¶
func (o SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutput() SourceInfoResponsePtrOutput
func (SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutputWithContext ¶
func (o SourceInfoResponsePtrOutput) ToSourceInfoResponsePtrOutputWithContext(ctx context.Context) SourceInfoResponsePtrOutput
type SystemParameter ¶
type SystemParameter struct { // Define the HTTP header name to use for the parameter. It is case insensitive. HttpHeader *string `pulumi:"httpHeader"` // Define the name of the parameter, such as "api_key" . It is case sensitive. Name *string `pulumi:"name"` // Define the URL query parameter name to use for the parameter. It is case sensitive. UrlQueryParameter *string `pulumi:"urlQueryParameter"` }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
type SystemParameterArgs ¶
type SystemParameterArgs struct { // Define the HTTP header name to use for the parameter. It is case insensitive. HttpHeader pulumi.StringPtrInput `pulumi:"httpHeader"` // Define the name of the parameter, such as "api_key" . It is case sensitive. Name pulumi.StringPtrInput `pulumi:"name"` // Define the URL query parameter name to use for the parameter. It is case sensitive. UrlQueryParameter pulumi.StringPtrInput `pulumi:"urlQueryParameter"` }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
func (SystemParameterArgs) ElementType ¶
func (SystemParameterArgs) ElementType() reflect.Type
func (SystemParameterArgs) ToSystemParameterOutput ¶
func (i SystemParameterArgs) ToSystemParameterOutput() SystemParameterOutput
func (SystemParameterArgs) ToSystemParameterOutputWithContext ¶
func (i SystemParameterArgs) ToSystemParameterOutputWithContext(ctx context.Context) SystemParameterOutput
type SystemParameterArray ¶
type SystemParameterArray []SystemParameterInput
func (SystemParameterArray) ElementType ¶
func (SystemParameterArray) ElementType() reflect.Type
func (SystemParameterArray) ToSystemParameterArrayOutput ¶
func (i SystemParameterArray) ToSystemParameterArrayOutput() SystemParameterArrayOutput
func (SystemParameterArray) ToSystemParameterArrayOutputWithContext ¶
func (i SystemParameterArray) ToSystemParameterArrayOutputWithContext(ctx context.Context) SystemParameterArrayOutput
type SystemParameterArrayInput ¶
type SystemParameterArrayInput interface { pulumi.Input ToSystemParameterArrayOutput() SystemParameterArrayOutput ToSystemParameterArrayOutputWithContext(context.Context) SystemParameterArrayOutput }
SystemParameterArrayInput is an input type that accepts SystemParameterArray and SystemParameterArrayOutput values. You can construct a concrete instance of `SystemParameterArrayInput` via:
SystemParameterArray{ SystemParameterArgs{...} }
type SystemParameterArrayOutput ¶
type SystemParameterArrayOutput struct{ *pulumi.OutputState }
func (SystemParameterArrayOutput) ElementType ¶
func (SystemParameterArrayOutput) ElementType() reflect.Type
func (SystemParameterArrayOutput) Index ¶
func (o SystemParameterArrayOutput) Index(i pulumi.IntInput) SystemParameterOutput
func (SystemParameterArrayOutput) ToSystemParameterArrayOutput ¶
func (o SystemParameterArrayOutput) ToSystemParameterArrayOutput() SystemParameterArrayOutput
func (SystemParameterArrayOutput) ToSystemParameterArrayOutputWithContext ¶
func (o SystemParameterArrayOutput) ToSystemParameterArrayOutputWithContext(ctx context.Context) SystemParameterArrayOutput
type SystemParameterInput ¶
type SystemParameterInput interface { pulumi.Input ToSystemParameterOutput() SystemParameterOutput ToSystemParameterOutputWithContext(context.Context) SystemParameterOutput }
SystemParameterInput is an input type that accepts SystemParameterArgs and SystemParameterOutput values. You can construct a concrete instance of `SystemParameterInput` via:
SystemParameterArgs{...}
type SystemParameterOutput ¶
type SystemParameterOutput struct{ *pulumi.OutputState }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
func (SystemParameterOutput) ElementType ¶
func (SystemParameterOutput) ElementType() reflect.Type
func (SystemParameterOutput) HttpHeader ¶
func (o SystemParameterOutput) HttpHeader() pulumi.StringPtrOutput
Define the HTTP header name to use for the parameter. It is case insensitive.
func (SystemParameterOutput) Name ¶
func (o SystemParameterOutput) Name() pulumi.StringPtrOutput
Define the name of the parameter, such as "api_key" . It is case sensitive.
func (SystemParameterOutput) ToSystemParameterOutput ¶
func (o SystemParameterOutput) ToSystemParameterOutput() SystemParameterOutput
func (SystemParameterOutput) ToSystemParameterOutputWithContext ¶
func (o SystemParameterOutput) ToSystemParameterOutputWithContext(ctx context.Context) SystemParameterOutput
func (SystemParameterOutput) UrlQueryParameter ¶
func (o SystemParameterOutput) UrlQueryParameter() pulumi.StringPtrOutput
Define the URL query parameter name to use for the parameter. It is case sensitive.
type SystemParameterResponse ¶
type SystemParameterResponse struct { // Define the HTTP header name to use for the parameter. It is case insensitive. HttpHeader string `pulumi:"httpHeader"` // Define the name of the parameter, such as "api_key" . It is case sensitive. Name string `pulumi:"name"` // Define the URL query parameter name to use for the parameter. It is case sensitive. UrlQueryParameter string `pulumi:"urlQueryParameter"` }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
type SystemParameterResponseArgs ¶
type SystemParameterResponseArgs struct { // Define the HTTP header name to use for the parameter. It is case insensitive. HttpHeader pulumi.StringInput `pulumi:"httpHeader"` // Define the name of the parameter, such as "api_key" . It is case sensitive. Name pulumi.StringInput `pulumi:"name"` // Define the URL query parameter name to use for the parameter. It is case sensitive. UrlQueryParameter pulumi.StringInput `pulumi:"urlQueryParameter"` }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
func (SystemParameterResponseArgs) ElementType ¶
func (SystemParameterResponseArgs) ElementType() reflect.Type
func (SystemParameterResponseArgs) ToSystemParameterResponseOutput ¶
func (i SystemParameterResponseArgs) ToSystemParameterResponseOutput() SystemParameterResponseOutput
func (SystemParameterResponseArgs) ToSystemParameterResponseOutputWithContext ¶
func (i SystemParameterResponseArgs) ToSystemParameterResponseOutputWithContext(ctx context.Context) SystemParameterResponseOutput
type SystemParameterResponseArray ¶
type SystemParameterResponseArray []SystemParameterResponseInput
func (SystemParameterResponseArray) ElementType ¶
func (SystemParameterResponseArray) ElementType() reflect.Type
func (SystemParameterResponseArray) ToSystemParameterResponseArrayOutput ¶
func (i SystemParameterResponseArray) ToSystemParameterResponseArrayOutput() SystemParameterResponseArrayOutput
func (SystemParameterResponseArray) ToSystemParameterResponseArrayOutputWithContext ¶
func (i SystemParameterResponseArray) ToSystemParameterResponseArrayOutputWithContext(ctx context.Context) SystemParameterResponseArrayOutput
type SystemParameterResponseArrayInput ¶
type SystemParameterResponseArrayInput interface { pulumi.Input ToSystemParameterResponseArrayOutput() SystemParameterResponseArrayOutput ToSystemParameterResponseArrayOutputWithContext(context.Context) SystemParameterResponseArrayOutput }
SystemParameterResponseArrayInput is an input type that accepts SystemParameterResponseArray and SystemParameterResponseArrayOutput values. You can construct a concrete instance of `SystemParameterResponseArrayInput` via:
SystemParameterResponseArray{ SystemParameterResponseArgs{...} }
type SystemParameterResponseArrayOutput ¶
type SystemParameterResponseArrayOutput struct{ *pulumi.OutputState }
func (SystemParameterResponseArrayOutput) ElementType ¶
func (SystemParameterResponseArrayOutput) ElementType() reflect.Type
func (SystemParameterResponseArrayOutput) Index ¶
func (o SystemParameterResponseArrayOutput) Index(i pulumi.IntInput) SystemParameterResponseOutput
func (SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutput ¶
func (o SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutput() SystemParameterResponseArrayOutput
func (SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutputWithContext ¶
func (o SystemParameterResponseArrayOutput) ToSystemParameterResponseArrayOutputWithContext(ctx context.Context) SystemParameterResponseArrayOutput
type SystemParameterResponseInput ¶
type SystemParameterResponseInput interface { pulumi.Input ToSystemParameterResponseOutput() SystemParameterResponseOutput ToSystemParameterResponseOutputWithContext(context.Context) SystemParameterResponseOutput }
SystemParameterResponseInput is an input type that accepts SystemParameterResponseArgs and SystemParameterResponseOutput values. You can construct a concrete instance of `SystemParameterResponseInput` via:
SystemParameterResponseArgs{...}
type SystemParameterResponseOutput ¶
type SystemParameterResponseOutput struct{ *pulumi.OutputState }
Define a parameter's name and location. The parameter may be passed as either an HTTP header or a URL query parameter, and if both are passed the behavior is implementation-dependent.
func (SystemParameterResponseOutput) ElementType ¶
func (SystemParameterResponseOutput) ElementType() reflect.Type
func (SystemParameterResponseOutput) HttpHeader ¶
func (o SystemParameterResponseOutput) HttpHeader() pulumi.StringOutput
Define the HTTP header name to use for the parameter. It is case insensitive.
func (SystemParameterResponseOutput) Name ¶
func (o SystemParameterResponseOutput) Name() pulumi.StringOutput
Define the name of the parameter, such as "api_key" . It is case sensitive.
func (SystemParameterResponseOutput) ToSystemParameterResponseOutput ¶
func (o SystemParameterResponseOutput) ToSystemParameterResponseOutput() SystemParameterResponseOutput
func (SystemParameterResponseOutput) ToSystemParameterResponseOutputWithContext ¶
func (o SystemParameterResponseOutput) ToSystemParameterResponseOutputWithContext(ctx context.Context) SystemParameterResponseOutput
func (SystemParameterResponseOutput) UrlQueryParameter ¶
func (o SystemParameterResponseOutput) UrlQueryParameter() pulumi.StringOutput
Define the URL query parameter name to use for the parameter. It is case sensitive.
type SystemParameterRule ¶
type SystemParameterRule struct { // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. Parameters []SystemParameter `pulumi:"parameters"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector *string `pulumi:"selector"` }
Define a system parameter rule mapping system parameter definitions to methods.
type SystemParameterRuleArgs ¶
type SystemParameterRuleArgs struct { // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. Parameters SystemParameterArrayInput `pulumi:"parameters"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` }
Define a system parameter rule mapping system parameter definitions to methods.
func (SystemParameterRuleArgs) ElementType ¶
func (SystemParameterRuleArgs) ElementType() reflect.Type
func (SystemParameterRuleArgs) ToSystemParameterRuleOutput ¶
func (i SystemParameterRuleArgs) ToSystemParameterRuleOutput() SystemParameterRuleOutput
func (SystemParameterRuleArgs) ToSystemParameterRuleOutputWithContext ¶
func (i SystemParameterRuleArgs) ToSystemParameterRuleOutputWithContext(ctx context.Context) SystemParameterRuleOutput
type SystemParameterRuleArray ¶
type SystemParameterRuleArray []SystemParameterRuleInput
func (SystemParameterRuleArray) ElementType ¶
func (SystemParameterRuleArray) ElementType() reflect.Type
func (SystemParameterRuleArray) ToSystemParameterRuleArrayOutput ¶
func (i SystemParameterRuleArray) ToSystemParameterRuleArrayOutput() SystemParameterRuleArrayOutput
func (SystemParameterRuleArray) ToSystemParameterRuleArrayOutputWithContext ¶
func (i SystemParameterRuleArray) ToSystemParameterRuleArrayOutputWithContext(ctx context.Context) SystemParameterRuleArrayOutput
type SystemParameterRuleArrayInput ¶
type SystemParameterRuleArrayInput interface { pulumi.Input ToSystemParameterRuleArrayOutput() SystemParameterRuleArrayOutput ToSystemParameterRuleArrayOutputWithContext(context.Context) SystemParameterRuleArrayOutput }
SystemParameterRuleArrayInput is an input type that accepts SystemParameterRuleArray and SystemParameterRuleArrayOutput values. You can construct a concrete instance of `SystemParameterRuleArrayInput` via:
SystemParameterRuleArray{ SystemParameterRuleArgs{...} }
type SystemParameterRuleArrayOutput ¶
type SystemParameterRuleArrayOutput struct{ *pulumi.OutputState }
func (SystemParameterRuleArrayOutput) ElementType ¶
func (SystemParameterRuleArrayOutput) ElementType() reflect.Type
func (SystemParameterRuleArrayOutput) Index ¶
func (o SystemParameterRuleArrayOutput) Index(i pulumi.IntInput) SystemParameterRuleOutput
func (SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutput ¶
func (o SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutput() SystemParameterRuleArrayOutput
func (SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutputWithContext ¶
func (o SystemParameterRuleArrayOutput) ToSystemParameterRuleArrayOutputWithContext(ctx context.Context) SystemParameterRuleArrayOutput
type SystemParameterRuleInput ¶
type SystemParameterRuleInput interface { pulumi.Input ToSystemParameterRuleOutput() SystemParameterRuleOutput ToSystemParameterRuleOutputWithContext(context.Context) SystemParameterRuleOutput }
SystemParameterRuleInput is an input type that accepts SystemParameterRuleArgs and SystemParameterRuleOutput values. You can construct a concrete instance of `SystemParameterRuleInput` via:
SystemParameterRuleArgs{...}
type SystemParameterRuleOutput ¶
type SystemParameterRuleOutput struct{ *pulumi.OutputState }
Define a system parameter rule mapping system parameter definitions to methods.
func (SystemParameterRuleOutput) ElementType ¶
func (SystemParameterRuleOutput) ElementType() reflect.Type
func (SystemParameterRuleOutput) Parameters ¶
func (o SystemParameterRuleOutput) Parameters() SystemParameterArrayOutput
Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.
func (SystemParameterRuleOutput) Selector ¶
func (o SystemParameterRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
func (SystemParameterRuleOutput) ToSystemParameterRuleOutput ¶
func (o SystemParameterRuleOutput) ToSystemParameterRuleOutput() SystemParameterRuleOutput
func (SystemParameterRuleOutput) ToSystemParameterRuleOutputWithContext ¶
func (o SystemParameterRuleOutput) ToSystemParameterRuleOutputWithContext(ctx context.Context) SystemParameterRuleOutput
type SystemParameterRuleResponse ¶
type SystemParameterRuleResponse struct { // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. Parameters []SystemParameterResponse `pulumi:"parameters"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector string `pulumi:"selector"` }
Define a system parameter rule mapping system parameter definitions to methods.
type SystemParameterRuleResponseArgs ¶
type SystemParameterRuleResponseArgs struct { // Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent. Parameters SystemParameterResponseArrayInput `pulumi:"parameters"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` }
Define a system parameter rule mapping system parameter definitions to methods.
func (SystemParameterRuleResponseArgs) ElementType ¶
func (SystemParameterRuleResponseArgs) ElementType() reflect.Type
func (SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutput ¶
func (i SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutput() SystemParameterRuleResponseOutput
func (SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutputWithContext ¶
func (i SystemParameterRuleResponseArgs) ToSystemParameterRuleResponseOutputWithContext(ctx context.Context) SystemParameterRuleResponseOutput
type SystemParameterRuleResponseArray ¶
type SystemParameterRuleResponseArray []SystemParameterRuleResponseInput
func (SystemParameterRuleResponseArray) ElementType ¶
func (SystemParameterRuleResponseArray) ElementType() reflect.Type
func (SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutput ¶
func (i SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutput() SystemParameterRuleResponseArrayOutput
func (SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutputWithContext ¶
func (i SystemParameterRuleResponseArray) ToSystemParameterRuleResponseArrayOutputWithContext(ctx context.Context) SystemParameterRuleResponseArrayOutput
type SystemParameterRuleResponseArrayInput ¶
type SystemParameterRuleResponseArrayInput interface { pulumi.Input ToSystemParameterRuleResponseArrayOutput() SystemParameterRuleResponseArrayOutput ToSystemParameterRuleResponseArrayOutputWithContext(context.Context) SystemParameterRuleResponseArrayOutput }
SystemParameterRuleResponseArrayInput is an input type that accepts SystemParameterRuleResponseArray and SystemParameterRuleResponseArrayOutput values. You can construct a concrete instance of `SystemParameterRuleResponseArrayInput` via:
SystemParameterRuleResponseArray{ SystemParameterRuleResponseArgs{...} }
type SystemParameterRuleResponseArrayOutput ¶
type SystemParameterRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (SystemParameterRuleResponseArrayOutput) ElementType ¶
func (SystemParameterRuleResponseArrayOutput) ElementType() reflect.Type
func (SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutput ¶
func (o SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutput() SystemParameterRuleResponseArrayOutput
func (SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutputWithContext ¶
func (o SystemParameterRuleResponseArrayOutput) ToSystemParameterRuleResponseArrayOutputWithContext(ctx context.Context) SystemParameterRuleResponseArrayOutput
type SystemParameterRuleResponseInput ¶
type SystemParameterRuleResponseInput interface { pulumi.Input ToSystemParameterRuleResponseOutput() SystemParameterRuleResponseOutput ToSystemParameterRuleResponseOutputWithContext(context.Context) SystemParameterRuleResponseOutput }
SystemParameterRuleResponseInput is an input type that accepts SystemParameterRuleResponseArgs and SystemParameterRuleResponseOutput values. You can construct a concrete instance of `SystemParameterRuleResponseInput` via:
SystemParameterRuleResponseArgs{...}
type SystemParameterRuleResponseOutput ¶
type SystemParameterRuleResponseOutput struct{ *pulumi.OutputState }
Define a system parameter rule mapping system parameter definitions to methods.
func (SystemParameterRuleResponseOutput) ElementType ¶
func (SystemParameterRuleResponseOutput) ElementType() reflect.Type
func (SystemParameterRuleResponseOutput) Parameters ¶
func (o SystemParameterRuleResponseOutput) Parameters() SystemParameterResponseArrayOutput
Define parameters. Multiple names may be defined for a parameter. For a given method call, only one of them should be used. If multiple names are used the behavior is implementation-dependent. If none of the specified names are present the behavior is parameter-dependent.
func (SystemParameterRuleResponseOutput) Selector ¶
func (o SystemParameterRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
func (SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutput ¶
func (o SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutput() SystemParameterRuleResponseOutput
func (SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutputWithContext ¶
func (o SystemParameterRuleResponseOutput) ToSystemParameterRuleResponseOutputWithContext(ctx context.Context) SystemParameterRuleResponseOutput
type SystemParameters ¶
type SystemParameters struct { // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. Rules []SystemParameterRule `pulumi:"rules"` }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
type SystemParametersArgs ¶
type SystemParametersArgs struct { // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. Rules SystemParameterRuleArrayInput `pulumi:"rules"` }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
func (SystemParametersArgs) ElementType ¶
func (SystemParametersArgs) ElementType() reflect.Type
func (SystemParametersArgs) ToSystemParametersOutput ¶
func (i SystemParametersArgs) ToSystemParametersOutput() SystemParametersOutput
func (SystemParametersArgs) ToSystemParametersOutputWithContext ¶
func (i SystemParametersArgs) ToSystemParametersOutputWithContext(ctx context.Context) SystemParametersOutput
func (SystemParametersArgs) ToSystemParametersPtrOutput ¶
func (i SystemParametersArgs) ToSystemParametersPtrOutput() SystemParametersPtrOutput
func (SystemParametersArgs) ToSystemParametersPtrOutputWithContext ¶
func (i SystemParametersArgs) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
type SystemParametersInput ¶
type SystemParametersInput interface { pulumi.Input ToSystemParametersOutput() SystemParametersOutput ToSystemParametersOutputWithContext(context.Context) SystemParametersOutput }
SystemParametersInput is an input type that accepts SystemParametersArgs and SystemParametersOutput values. You can construct a concrete instance of `SystemParametersInput` via:
SystemParametersArgs{...}
type SystemParametersOutput ¶
type SystemParametersOutput struct{ *pulumi.OutputState }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
func (SystemParametersOutput) ElementType ¶
func (SystemParametersOutput) ElementType() reflect.Type
func (SystemParametersOutput) Rules ¶
func (o SystemParametersOutput) Rules() SystemParameterRuleArrayOutput
Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.
func (SystemParametersOutput) ToSystemParametersOutput ¶
func (o SystemParametersOutput) ToSystemParametersOutput() SystemParametersOutput
func (SystemParametersOutput) ToSystemParametersOutputWithContext ¶
func (o SystemParametersOutput) ToSystemParametersOutputWithContext(ctx context.Context) SystemParametersOutput
func (SystemParametersOutput) ToSystemParametersPtrOutput ¶
func (o SystemParametersOutput) ToSystemParametersPtrOutput() SystemParametersPtrOutput
func (SystemParametersOutput) ToSystemParametersPtrOutputWithContext ¶
func (o SystemParametersOutput) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
type SystemParametersPtrInput ¶
type SystemParametersPtrInput interface { pulumi.Input ToSystemParametersPtrOutput() SystemParametersPtrOutput ToSystemParametersPtrOutputWithContext(context.Context) SystemParametersPtrOutput }
SystemParametersPtrInput is an input type that accepts SystemParametersArgs, SystemParametersPtr and SystemParametersPtrOutput values. You can construct a concrete instance of `SystemParametersPtrInput` via:
SystemParametersArgs{...} or: nil
func SystemParametersPtr ¶
func SystemParametersPtr(v *SystemParametersArgs) SystemParametersPtrInput
type SystemParametersPtrOutput ¶
type SystemParametersPtrOutput struct{ *pulumi.OutputState }
func (SystemParametersPtrOutput) Elem ¶
func (o SystemParametersPtrOutput) Elem() SystemParametersOutput
func (SystemParametersPtrOutput) ElementType ¶
func (SystemParametersPtrOutput) ElementType() reflect.Type
func (SystemParametersPtrOutput) Rules ¶
func (o SystemParametersPtrOutput) Rules() SystemParameterRuleArrayOutput
Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.
func (SystemParametersPtrOutput) ToSystemParametersPtrOutput ¶
func (o SystemParametersPtrOutput) ToSystemParametersPtrOutput() SystemParametersPtrOutput
func (SystemParametersPtrOutput) ToSystemParametersPtrOutputWithContext ¶
func (o SystemParametersPtrOutput) ToSystemParametersPtrOutputWithContext(ctx context.Context) SystemParametersPtrOutput
type SystemParametersResponse ¶
type SystemParametersResponse struct { // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. Rules []SystemParameterRuleResponse `pulumi:"rules"` }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
type SystemParametersResponseArgs ¶
type SystemParametersResponseArgs struct { // Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order. Rules SystemParameterRuleResponseArrayInput `pulumi:"rules"` }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
func (SystemParametersResponseArgs) ElementType ¶
func (SystemParametersResponseArgs) ElementType() reflect.Type
func (SystemParametersResponseArgs) ToSystemParametersResponseOutput ¶
func (i SystemParametersResponseArgs) ToSystemParametersResponseOutput() SystemParametersResponseOutput
func (SystemParametersResponseArgs) ToSystemParametersResponseOutputWithContext ¶
func (i SystemParametersResponseArgs) ToSystemParametersResponseOutputWithContext(ctx context.Context) SystemParametersResponseOutput
func (SystemParametersResponseArgs) ToSystemParametersResponsePtrOutput ¶
func (i SystemParametersResponseArgs) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
func (SystemParametersResponseArgs) ToSystemParametersResponsePtrOutputWithContext ¶
func (i SystemParametersResponseArgs) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
type SystemParametersResponseInput ¶
type SystemParametersResponseInput interface { pulumi.Input ToSystemParametersResponseOutput() SystemParametersResponseOutput ToSystemParametersResponseOutputWithContext(context.Context) SystemParametersResponseOutput }
SystemParametersResponseInput is an input type that accepts SystemParametersResponseArgs and SystemParametersResponseOutput values. You can construct a concrete instance of `SystemParametersResponseInput` via:
SystemParametersResponseArgs{...}
type SystemParametersResponseOutput ¶
type SystemParametersResponseOutput struct{ *pulumi.OutputState }
### System parameter configuration A system parameter is a special kind of parameter defined by the API system, not by an individual API. It is typically mapped to an HTTP header and/or a URL query parameter. This configuration specifies which methods change the names of the system parameters.
func (SystemParametersResponseOutput) ElementType ¶
func (SystemParametersResponseOutput) ElementType() reflect.Type
func (SystemParametersResponseOutput) Rules ¶
func (o SystemParametersResponseOutput) Rules() SystemParameterRuleResponseArrayOutput
Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.
func (SystemParametersResponseOutput) ToSystemParametersResponseOutput ¶
func (o SystemParametersResponseOutput) ToSystemParametersResponseOutput() SystemParametersResponseOutput
func (SystemParametersResponseOutput) ToSystemParametersResponseOutputWithContext ¶
func (o SystemParametersResponseOutput) ToSystemParametersResponseOutputWithContext(ctx context.Context) SystemParametersResponseOutput
func (SystemParametersResponseOutput) ToSystemParametersResponsePtrOutput ¶
func (o SystemParametersResponseOutput) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
func (SystemParametersResponseOutput) ToSystemParametersResponsePtrOutputWithContext ¶
func (o SystemParametersResponseOutput) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
type SystemParametersResponsePtrInput ¶
type SystemParametersResponsePtrInput interface { pulumi.Input ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput ToSystemParametersResponsePtrOutputWithContext(context.Context) SystemParametersResponsePtrOutput }
SystemParametersResponsePtrInput is an input type that accepts SystemParametersResponseArgs, SystemParametersResponsePtr and SystemParametersResponsePtrOutput values. You can construct a concrete instance of `SystemParametersResponsePtrInput` via:
SystemParametersResponseArgs{...} or: nil
func SystemParametersResponsePtr ¶
func SystemParametersResponsePtr(v *SystemParametersResponseArgs) SystemParametersResponsePtrInput
type SystemParametersResponsePtrOutput ¶
type SystemParametersResponsePtrOutput struct{ *pulumi.OutputState }
func (SystemParametersResponsePtrOutput) Elem ¶
func (o SystemParametersResponsePtrOutput) Elem() SystemParametersResponseOutput
func (SystemParametersResponsePtrOutput) ElementType ¶
func (SystemParametersResponsePtrOutput) ElementType() reflect.Type
func (SystemParametersResponsePtrOutput) Rules ¶
func (o SystemParametersResponsePtrOutput) Rules() SystemParameterRuleResponseArrayOutput
Define system parameters. The parameters defined here will override the default parameters implemented by the system. If this field is missing from the service config, default system parameters will be used. Default system parameters and names is implementation-dependent. Example: define api key for all methods system_parameters rules: - selector: "*" parameters: - name: api_key url_query_parameter: api_key Example: define 2 api key names for a specific method. system_parameters rules: - selector: "/ListShelves" parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header: Api-Key2 **NOTE:** All service configuration rules follow "last one wins" order.
func (SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutput ¶
func (o SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutput() SystemParametersResponsePtrOutput
func (SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutputWithContext ¶
func (o SystemParametersResponsePtrOutput) ToSystemParametersResponsePtrOutputWithContext(ctx context.Context) SystemParametersResponsePtrOutput
type TrafficPercentStrategy ¶
type TrafficPercentStrategy struct { // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. Percentages map[string]string `pulumi:"percentages"` }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
type TrafficPercentStrategyArgs ¶
type TrafficPercentStrategyArgs struct { // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. Percentages pulumi.StringMapInput `pulumi:"percentages"` }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
func (TrafficPercentStrategyArgs) ElementType ¶
func (TrafficPercentStrategyArgs) ElementType() reflect.Type
func (TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutput ¶
func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutput() TrafficPercentStrategyOutput
func (TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutputWithContext ¶
func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyOutputWithContext(ctx context.Context) TrafficPercentStrategyOutput
func (TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutput ¶
func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
func (TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutputWithContext ¶
func (i TrafficPercentStrategyArgs) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
type TrafficPercentStrategyInput ¶
type TrafficPercentStrategyInput interface { pulumi.Input ToTrafficPercentStrategyOutput() TrafficPercentStrategyOutput ToTrafficPercentStrategyOutputWithContext(context.Context) TrafficPercentStrategyOutput }
TrafficPercentStrategyInput is an input type that accepts TrafficPercentStrategyArgs and TrafficPercentStrategyOutput values. You can construct a concrete instance of `TrafficPercentStrategyInput` via:
TrafficPercentStrategyArgs{...}
type TrafficPercentStrategyOutput ¶
type TrafficPercentStrategyOutput struct{ *pulumi.OutputState }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
func (TrafficPercentStrategyOutput) ElementType ¶
func (TrafficPercentStrategyOutput) ElementType() reflect.Type
func (TrafficPercentStrategyOutput) Percentages ¶
func (o TrafficPercentStrategyOutput) Percentages() pulumi.StringMapOutput
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
func (TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutput ¶
func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutput() TrafficPercentStrategyOutput
func (TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutputWithContext ¶
func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyOutputWithContext(ctx context.Context) TrafficPercentStrategyOutput
func (TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutput ¶
func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
func (TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutputWithContext ¶
func (o TrafficPercentStrategyOutput) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
type TrafficPercentStrategyPtrInput ¶
type TrafficPercentStrategyPtrInput interface { pulumi.Input ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput ToTrafficPercentStrategyPtrOutputWithContext(context.Context) TrafficPercentStrategyPtrOutput }
TrafficPercentStrategyPtrInput is an input type that accepts TrafficPercentStrategyArgs, TrafficPercentStrategyPtr and TrafficPercentStrategyPtrOutput values. You can construct a concrete instance of `TrafficPercentStrategyPtrInput` via:
TrafficPercentStrategyArgs{...} or: nil
func TrafficPercentStrategyPtr ¶
func TrafficPercentStrategyPtr(v *TrafficPercentStrategyArgs) TrafficPercentStrategyPtrInput
type TrafficPercentStrategyPtrOutput ¶
type TrafficPercentStrategyPtrOutput struct{ *pulumi.OutputState }
func (TrafficPercentStrategyPtrOutput) Elem ¶
func (o TrafficPercentStrategyPtrOutput) Elem() TrafficPercentStrategyOutput
func (TrafficPercentStrategyPtrOutput) ElementType ¶
func (TrafficPercentStrategyPtrOutput) ElementType() reflect.Type
func (TrafficPercentStrategyPtrOutput) Percentages ¶
func (o TrafficPercentStrategyPtrOutput) Percentages() pulumi.StringMapOutput
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
func (TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutput ¶
func (o TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutput() TrafficPercentStrategyPtrOutput
func (TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutputWithContext ¶
func (o TrafficPercentStrategyPtrOutput) ToTrafficPercentStrategyPtrOutputWithContext(ctx context.Context) TrafficPercentStrategyPtrOutput
type TrafficPercentStrategyResponse ¶
type TrafficPercentStrategyResponse struct { // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. Percentages map[string]string `pulumi:"percentages"` }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
type TrafficPercentStrategyResponseArgs ¶
type TrafficPercentStrategyResponseArgs struct { // Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0. Percentages pulumi.StringMapInput `pulumi:"percentages"` }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
func (TrafficPercentStrategyResponseArgs) ElementType ¶
func (TrafficPercentStrategyResponseArgs) ElementType() reflect.Type
func (TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutput ¶
func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutput() TrafficPercentStrategyResponseOutput
func (TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutputWithContext ¶
func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponseOutputWithContext(ctx context.Context) TrafficPercentStrategyResponseOutput
func (TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutput ¶
func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
func (TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutputWithContext ¶
func (i TrafficPercentStrategyResponseArgs) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
type TrafficPercentStrategyResponseInput ¶
type TrafficPercentStrategyResponseInput interface { pulumi.Input ToTrafficPercentStrategyResponseOutput() TrafficPercentStrategyResponseOutput ToTrafficPercentStrategyResponseOutputWithContext(context.Context) TrafficPercentStrategyResponseOutput }
TrafficPercentStrategyResponseInput is an input type that accepts TrafficPercentStrategyResponseArgs and TrafficPercentStrategyResponseOutput values. You can construct a concrete instance of `TrafficPercentStrategyResponseInput` via:
TrafficPercentStrategyResponseArgs{...}
type TrafficPercentStrategyResponseOutput ¶
type TrafficPercentStrategyResponseOutput struct{ *pulumi.OutputState }
Strategy that specifies how clients of Google Service Controller want to send traffic to use different config versions. This is generally used by API proxy to split traffic based on your configured percentage for each config version. One example of how to gradually rollout a new service configuration using this strategy: Day 1 Rollout { id: "example.googleapis.com/rollout_20160206" traffic_percent_strategy { percentages: { "example.googleapis.com/20160201": 70.00 "example.googleapis.com/20160206": 30.00 } } } Day 2 Rollout { id: "example.googleapis.com/rollout_20160207" traffic_percent_strategy: { percentages: { "example.googleapis.com/20160206": 100.00 } } }
func (TrafficPercentStrategyResponseOutput) ElementType ¶
func (TrafficPercentStrategyResponseOutput) ElementType() reflect.Type
func (TrafficPercentStrategyResponseOutput) Percentages ¶
func (o TrafficPercentStrategyResponseOutput) Percentages() pulumi.StringMapOutput
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
func (TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutput ¶
func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutput() TrafficPercentStrategyResponseOutput
func (TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutputWithContext ¶
func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponseOutputWithContext(ctx context.Context) TrafficPercentStrategyResponseOutput
func (TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutput ¶
func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
func (TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext ¶
func (o TrafficPercentStrategyResponseOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
type TrafficPercentStrategyResponsePtrInput ¶
type TrafficPercentStrategyResponsePtrInput interface { pulumi.Input ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput ToTrafficPercentStrategyResponsePtrOutputWithContext(context.Context) TrafficPercentStrategyResponsePtrOutput }
TrafficPercentStrategyResponsePtrInput is an input type that accepts TrafficPercentStrategyResponseArgs, TrafficPercentStrategyResponsePtr and TrafficPercentStrategyResponsePtrOutput values. You can construct a concrete instance of `TrafficPercentStrategyResponsePtrInput` via:
TrafficPercentStrategyResponseArgs{...} or: nil
func TrafficPercentStrategyResponsePtr ¶
func TrafficPercentStrategyResponsePtr(v *TrafficPercentStrategyResponseArgs) TrafficPercentStrategyResponsePtrInput
type TrafficPercentStrategyResponsePtrOutput ¶
type TrafficPercentStrategyResponsePtrOutput struct{ *pulumi.OutputState }
func (TrafficPercentStrategyResponsePtrOutput) ElementType ¶
func (TrafficPercentStrategyResponsePtrOutput) ElementType() reflect.Type
func (TrafficPercentStrategyResponsePtrOutput) Percentages ¶
func (o TrafficPercentStrategyResponsePtrOutput) Percentages() pulumi.StringMapOutput
Maps service configuration IDs to their corresponding traffic percentage. Key is the service configuration ID, Value is the traffic percentage which must be greater than 0.0 and the sum must equal to 100.0.
func (TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutput ¶
func (o TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutput() TrafficPercentStrategyResponsePtrOutput
func (TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext ¶
func (o TrafficPercentStrategyResponsePtrOutput) ToTrafficPercentStrategyResponsePtrOutputWithContext(ctx context.Context) TrafficPercentStrategyResponsePtrOutput
type Type ¶
type Type struct { // The list of fields. Fields []Field `pulumi:"fields"` // The fully qualified message name. Name *string `pulumi:"name"` // The list of types appearing in `oneof` definitions in this type. Oneofs []string `pulumi:"oneofs"` // The protocol buffer options. Options []Option `pulumi:"options"` // The source context. SourceContext *SourceContext `pulumi:"sourceContext"` // The source syntax. Syntax *string `pulumi:"syntax"` }
A protocol buffer message type.
type TypeArgs ¶
type TypeArgs struct { // The list of fields. Fields FieldArrayInput `pulumi:"fields"` // The fully qualified message name. Name pulumi.StringPtrInput `pulumi:"name"` // The list of types appearing in `oneof` definitions in this type. Oneofs pulumi.StringArrayInput `pulumi:"oneofs"` // The protocol buffer options. Options OptionArrayInput `pulumi:"options"` // The source context. SourceContext SourceContextPtrInput `pulumi:"sourceContext"` // The source syntax. Syntax pulumi.StringPtrInput `pulumi:"syntax"` }
A protocol buffer message type.
func (TypeArgs) ElementType ¶
func (TypeArgs) ToTypeOutput ¶
func (i TypeArgs) ToTypeOutput() TypeOutput
func (TypeArgs) ToTypeOutputWithContext ¶
func (i TypeArgs) ToTypeOutputWithContext(ctx context.Context) TypeOutput
type TypeArray ¶
type TypeArray []TypeInput
func (TypeArray) ElementType ¶
func (TypeArray) ToTypeArrayOutput ¶
func (i TypeArray) ToTypeArrayOutput() TypeArrayOutput
func (TypeArray) ToTypeArrayOutputWithContext ¶
func (i TypeArray) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput
type TypeArrayInput ¶
type TypeArrayInput interface { pulumi.Input ToTypeArrayOutput() TypeArrayOutput ToTypeArrayOutputWithContext(context.Context) TypeArrayOutput }
TypeArrayInput is an input type that accepts TypeArray and TypeArrayOutput values. You can construct a concrete instance of `TypeArrayInput` via:
TypeArray{ TypeArgs{...} }
type TypeArrayOutput ¶
type TypeArrayOutput struct{ *pulumi.OutputState }
func (TypeArrayOutput) ElementType ¶
func (TypeArrayOutput) ElementType() reflect.Type
func (TypeArrayOutput) Index ¶
func (o TypeArrayOutput) Index(i pulumi.IntInput) TypeOutput
func (TypeArrayOutput) ToTypeArrayOutput ¶
func (o TypeArrayOutput) ToTypeArrayOutput() TypeArrayOutput
func (TypeArrayOutput) ToTypeArrayOutputWithContext ¶
func (o TypeArrayOutput) ToTypeArrayOutputWithContext(ctx context.Context) TypeArrayOutput
type TypeInput ¶
type TypeInput interface { pulumi.Input ToTypeOutput() TypeOutput ToTypeOutputWithContext(context.Context) TypeOutput }
TypeInput is an input type that accepts TypeArgs and TypeOutput values. You can construct a concrete instance of `TypeInput` via:
TypeArgs{...}
type TypeOutput ¶
type TypeOutput struct{ *pulumi.OutputState }
A protocol buffer message type.
func (TypeOutput) ElementType ¶
func (TypeOutput) ElementType() reflect.Type
func (TypeOutput) Name ¶
func (o TypeOutput) Name() pulumi.StringPtrOutput
The fully qualified message name.
func (TypeOutput) Oneofs ¶
func (o TypeOutput) Oneofs() pulumi.StringArrayOutput
The list of types appearing in `oneof` definitions in this type.
func (TypeOutput) Options ¶
func (o TypeOutput) Options() OptionArrayOutput
The protocol buffer options.
func (TypeOutput) SourceContext ¶
func (o TypeOutput) SourceContext() SourceContextPtrOutput
The source context.
func (TypeOutput) ToTypeOutput ¶
func (o TypeOutput) ToTypeOutput() TypeOutput
func (TypeOutput) ToTypeOutputWithContext ¶
func (o TypeOutput) ToTypeOutputWithContext(ctx context.Context) TypeOutput
type TypeResponse ¶
type TypeResponse struct { // The list of fields. Fields []FieldResponse `pulumi:"fields"` // The fully qualified message name. Name string `pulumi:"name"` // The list of types appearing in `oneof` definitions in this type. Oneofs []string `pulumi:"oneofs"` // The protocol buffer options. Options []OptionResponse `pulumi:"options"` // The source context. SourceContext SourceContextResponse `pulumi:"sourceContext"` // The source syntax. Syntax string `pulumi:"syntax"` }
A protocol buffer message type.
type TypeResponseArgs ¶
type TypeResponseArgs struct { // The list of fields. Fields FieldResponseArrayInput `pulumi:"fields"` // The fully qualified message name. Name pulumi.StringInput `pulumi:"name"` // The list of types appearing in `oneof` definitions in this type. Oneofs pulumi.StringArrayInput `pulumi:"oneofs"` // The protocol buffer options. Options OptionResponseArrayInput `pulumi:"options"` // The source context. SourceContext SourceContextResponseInput `pulumi:"sourceContext"` // The source syntax. Syntax pulumi.StringInput `pulumi:"syntax"` }
A protocol buffer message type.
func (TypeResponseArgs) ElementType ¶
func (TypeResponseArgs) ElementType() reflect.Type
func (TypeResponseArgs) ToTypeResponseOutput ¶
func (i TypeResponseArgs) ToTypeResponseOutput() TypeResponseOutput
func (TypeResponseArgs) ToTypeResponseOutputWithContext ¶
func (i TypeResponseArgs) ToTypeResponseOutputWithContext(ctx context.Context) TypeResponseOutput
type TypeResponseArray ¶
type TypeResponseArray []TypeResponseInput
func (TypeResponseArray) ElementType ¶
func (TypeResponseArray) ElementType() reflect.Type
func (TypeResponseArray) ToTypeResponseArrayOutput ¶
func (i TypeResponseArray) ToTypeResponseArrayOutput() TypeResponseArrayOutput
func (TypeResponseArray) ToTypeResponseArrayOutputWithContext ¶
func (i TypeResponseArray) ToTypeResponseArrayOutputWithContext(ctx context.Context) TypeResponseArrayOutput
type TypeResponseArrayInput ¶
type TypeResponseArrayInput interface { pulumi.Input ToTypeResponseArrayOutput() TypeResponseArrayOutput ToTypeResponseArrayOutputWithContext(context.Context) TypeResponseArrayOutput }
TypeResponseArrayInput is an input type that accepts TypeResponseArray and TypeResponseArrayOutput values. You can construct a concrete instance of `TypeResponseArrayInput` via:
TypeResponseArray{ TypeResponseArgs{...} }
type TypeResponseArrayOutput ¶
type TypeResponseArrayOutput struct{ *pulumi.OutputState }
func (TypeResponseArrayOutput) ElementType ¶
func (TypeResponseArrayOutput) ElementType() reflect.Type
func (TypeResponseArrayOutput) Index ¶
func (o TypeResponseArrayOutput) Index(i pulumi.IntInput) TypeResponseOutput
func (TypeResponseArrayOutput) ToTypeResponseArrayOutput ¶
func (o TypeResponseArrayOutput) ToTypeResponseArrayOutput() TypeResponseArrayOutput
func (TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext ¶
func (o TypeResponseArrayOutput) ToTypeResponseArrayOutputWithContext(ctx context.Context) TypeResponseArrayOutput
type TypeResponseInput ¶
type TypeResponseInput interface { pulumi.Input ToTypeResponseOutput() TypeResponseOutput ToTypeResponseOutputWithContext(context.Context) TypeResponseOutput }
TypeResponseInput is an input type that accepts TypeResponseArgs and TypeResponseOutput values. You can construct a concrete instance of `TypeResponseInput` via:
TypeResponseArgs{...}
type TypeResponseOutput ¶
type TypeResponseOutput struct{ *pulumi.OutputState }
A protocol buffer message type.
func (TypeResponseOutput) ElementType ¶
func (TypeResponseOutput) ElementType() reflect.Type
func (TypeResponseOutput) Fields ¶
func (o TypeResponseOutput) Fields() FieldResponseArrayOutput
The list of fields.
func (TypeResponseOutput) Name ¶
func (o TypeResponseOutput) Name() pulumi.StringOutput
The fully qualified message name.
func (TypeResponseOutput) Oneofs ¶
func (o TypeResponseOutput) Oneofs() pulumi.StringArrayOutput
The list of types appearing in `oneof` definitions in this type.
func (TypeResponseOutput) Options ¶
func (o TypeResponseOutput) Options() OptionResponseArrayOutput
The protocol buffer options.
func (TypeResponseOutput) SourceContext ¶
func (o TypeResponseOutput) SourceContext() SourceContextResponseOutput
The source context.
func (TypeResponseOutput) Syntax ¶
func (o TypeResponseOutput) Syntax() pulumi.StringOutput
The source syntax.
func (TypeResponseOutput) ToTypeResponseOutput ¶
func (o TypeResponseOutput) ToTypeResponseOutput() TypeResponseOutput
func (TypeResponseOutput) ToTypeResponseOutputWithContext ¶
func (o TypeResponseOutput) ToTypeResponseOutputWithContext(ctx context.Context) TypeResponseOutput
type Usage ¶
type Usage struct { // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. ProducerNotificationChannel *string `pulumi:"producerNotificationChannel"` // Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs. Requirements []string `pulumi:"requirements"` // A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []UsageRule `pulumi:"rules"` }
Configuration controlling usage of a service.
type UsageArgs ¶
type UsageArgs struct { // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. ProducerNotificationChannel pulumi.StringPtrInput `pulumi:"producerNotificationChannel"` // Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs. Requirements pulumi.StringArrayInput `pulumi:"requirements"` // A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules UsageRuleArrayInput `pulumi:"rules"` }
Configuration controlling usage of a service.
func (UsageArgs) ElementType ¶
func (UsageArgs) ToUsageOutput ¶
func (i UsageArgs) ToUsageOutput() UsageOutput
func (UsageArgs) ToUsageOutputWithContext ¶
func (i UsageArgs) ToUsageOutputWithContext(ctx context.Context) UsageOutput
func (UsageArgs) ToUsagePtrOutput ¶
func (i UsageArgs) ToUsagePtrOutput() UsagePtrOutput
func (UsageArgs) ToUsagePtrOutputWithContext ¶
func (i UsageArgs) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
type UsageInput ¶
type UsageInput interface { pulumi.Input ToUsageOutput() UsageOutput ToUsageOutputWithContext(context.Context) UsageOutput }
UsageInput is an input type that accepts UsageArgs and UsageOutput values. You can construct a concrete instance of `UsageInput` via:
UsageArgs{...}
type UsageOutput ¶
type UsageOutput struct{ *pulumi.OutputState }
Configuration controlling usage of a service.
func (UsageOutput) ElementType ¶
func (UsageOutput) ElementType() reflect.Type
func (UsageOutput) ProducerNotificationChannel ¶
func (o UsageOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
func (UsageOutput) Requirements ¶
func (o UsageOutput) Requirements() pulumi.StringArrayOutput
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
func (UsageOutput) Rules ¶
func (o UsageOutput) Rules() UsageRuleArrayOutput
A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (UsageOutput) ToUsageOutput ¶
func (o UsageOutput) ToUsageOutput() UsageOutput
func (UsageOutput) ToUsageOutputWithContext ¶
func (o UsageOutput) ToUsageOutputWithContext(ctx context.Context) UsageOutput
func (UsageOutput) ToUsagePtrOutput ¶
func (o UsageOutput) ToUsagePtrOutput() UsagePtrOutput
func (UsageOutput) ToUsagePtrOutputWithContext ¶
func (o UsageOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
type UsagePtrInput ¶
type UsagePtrInput interface { pulumi.Input ToUsagePtrOutput() UsagePtrOutput ToUsagePtrOutputWithContext(context.Context) UsagePtrOutput }
UsagePtrInput is an input type that accepts UsageArgs, UsagePtr and UsagePtrOutput values. You can construct a concrete instance of `UsagePtrInput` via:
UsageArgs{...} or: nil
func UsagePtr ¶
func UsagePtr(v *UsageArgs) UsagePtrInput
type UsagePtrOutput ¶
type UsagePtrOutput struct{ *pulumi.OutputState }
func (UsagePtrOutput) Elem ¶
func (o UsagePtrOutput) Elem() UsageOutput
func (UsagePtrOutput) ElementType ¶
func (UsagePtrOutput) ElementType() reflect.Type
func (UsagePtrOutput) ProducerNotificationChannel ¶
func (o UsagePtrOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
func (UsagePtrOutput) Requirements ¶
func (o UsagePtrOutput) Requirements() pulumi.StringArrayOutput
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
func (UsagePtrOutput) Rules ¶
func (o UsagePtrOutput) Rules() UsageRuleArrayOutput
A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (UsagePtrOutput) ToUsagePtrOutput ¶
func (o UsagePtrOutput) ToUsagePtrOutput() UsagePtrOutput
func (UsagePtrOutput) ToUsagePtrOutputWithContext ¶
func (o UsagePtrOutput) ToUsagePtrOutputWithContext(ctx context.Context) UsagePtrOutput
type UsageResponse ¶
type UsageResponse struct { // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. ProducerNotificationChannel string `pulumi:"producerNotificationChannel"` // Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs. Requirements []string `pulumi:"requirements"` // A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules []UsageRuleResponse `pulumi:"rules"` }
Configuration controlling usage of a service.
type UsageResponseArgs ¶
type UsageResponseArgs struct { // The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview. ProducerNotificationChannel pulumi.StringInput `pulumi:"producerNotificationChannel"` // Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs. Requirements pulumi.StringArrayInput `pulumi:"requirements"` // A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order. Rules UsageRuleResponseArrayInput `pulumi:"rules"` }
Configuration controlling usage of a service.
func (UsageResponseArgs) ElementType ¶
func (UsageResponseArgs) ElementType() reflect.Type
func (UsageResponseArgs) ToUsageResponseOutput ¶
func (i UsageResponseArgs) ToUsageResponseOutput() UsageResponseOutput
func (UsageResponseArgs) ToUsageResponseOutputWithContext ¶
func (i UsageResponseArgs) ToUsageResponseOutputWithContext(ctx context.Context) UsageResponseOutput
func (UsageResponseArgs) ToUsageResponsePtrOutput ¶
func (i UsageResponseArgs) ToUsageResponsePtrOutput() UsageResponsePtrOutput
func (UsageResponseArgs) ToUsageResponsePtrOutputWithContext ¶
func (i UsageResponseArgs) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
type UsageResponseInput ¶
type UsageResponseInput interface { pulumi.Input ToUsageResponseOutput() UsageResponseOutput ToUsageResponseOutputWithContext(context.Context) UsageResponseOutput }
UsageResponseInput is an input type that accepts UsageResponseArgs and UsageResponseOutput values. You can construct a concrete instance of `UsageResponseInput` via:
UsageResponseArgs{...}
type UsageResponseOutput ¶
type UsageResponseOutput struct{ *pulumi.OutputState }
Configuration controlling usage of a service.
func (UsageResponseOutput) ElementType ¶
func (UsageResponseOutput) ElementType() reflect.Type
func (UsageResponseOutput) ProducerNotificationChannel ¶
func (o UsageResponseOutput) ProducerNotificationChannel() pulumi.StringOutput
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
func (UsageResponseOutput) Requirements ¶
func (o UsageResponseOutput) Requirements() pulumi.StringArrayOutput
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
func (UsageResponseOutput) Rules ¶
func (o UsageResponseOutput) Rules() UsageRuleResponseArrayOutput
A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (UsageResponseOutput) ToUsageResponseOutput ¶
func (o UsageResponseOutput) ToUsageResponseOutput() UsageResponseOutput
func (UsageResponseOutput) ToUsageResponseOutputWithContext ¶
func (o UsageResponseOutput) ToUsageResponseOutputWithContext(ctx context.Context) UsageResponseOutput
func (UsageResponseOutput) ToUsageResponsePtrOutput ¶
func (o UsageResponseOutput) ToUsageResponsePtrOutput() UsageResponsePtrOutput
func (UsageResponseOutput) ToUsageResponsePtrOutputWithContext ¶
func (o UsageResponseOutput) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
type UsageResponsePtrInput ¶
type UsageResponsePtrInput interface { pulumi.Input ToUsageResponsePtrOutput() UsageResponsePtrOutput ToUsageResponsePtrOutputWithContext(context.Context) UsageResponsePtrOutput }
UsageResponsePtrInput is an input type that accepts UsageResponseArgs, UsageResponsePtr and UsageResponsePtrOutput values. You can construct a concrete instance of `UsageResponsePtrInput` via:
UsageResponseArgs{...} or: nil
func UsageResponsePtr ¶
func UsageResponsePtr(v *UsageResponseArgs) UsageResponsePtrInput
type UsageResponsePtrOutput ¶
type UsageResponsePtrOutput struct{ *pulumi.OutputState }
func (UsageResponsePtrOutput) Elem ¶
func (o UsageResponsePtrOutput) Elem() UsageResponseOutput
func (UsageResponsePtrOutput) ElementType ¶
func (UsageResponsePtrOutput) ElementType() reflect.Type
func (UsageResponsePtrOutput) ProducerNotificationChannel ¶
func (o UsageResponsePtrOutput) ProducerNotificationChannel() pulumi.StringPtrOutput
The full resource name of a channel used for sending notifications to the service producer. Google Service Management currently only supports [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format documented in https://cloud.google.com/pubsub/docs/overview.
func (UsageResponsePtrOutput) Requirements ¶
func (o UsageResponsePtrOutput) Requirements() pulumi.StringArrayOutput
Requirements that must be satisfied before a consumer project can use the service. Each requirement is of the form /; for example 'serviceusage.googleapis.com/billing-enabled'. For Google APIs, a Terms of Service requirement must be included here. Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". Other Google APIs should include "serviceusage.googleapis.com/tos/universal". Additional ToS can be included based on the business needs.
func (UsageResponsePtrOutput) Rules ¶
func (o UsageResponsePtrOutput) Rules() UsageRuleResponseArrayOutput
A list of usage rules that apply to individual API methods. **NOTE:** All service configuration rules follow "last one wins" order.
func (UsageResponsePtrOutput) ToUsageResponsePtrOutput ¶
func (o UsageResponsePtrOutput) ToUsageResponsePtrOutput() UsageResponsePtrOutput
func (UsageResponsePtrOutput) ToUsageResponsePtrOutputWithContext ¶
func (o UsageResponsePtrOutput) ToUsageResponsePtrOutputWithContext(ctx context.Context) UsageResponsePtrOutput
type UsageRule ¶
type UsageRule struct { // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. AllowUnregisteredCalls *bool `pulumi:"allowUnregisteredCalls"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector *string `pulumi:"selector"` // If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods. SkipServiceControl *bool `pulumi:"skipServiceControl"` }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
type UsageRuleArgs ¶
type UsageRuleArgs struct { // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. AllowUnregisteredCalls pulumi.BoolPtrInput `pulumi:"allowUnregisteredCalls"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector pulumi.StringPtrInput `pulumi:"selector"` // If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods. SkipServiceControl pulumi.BoolPtrInput `pulumi:"skipServiceControl"` }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
func (UsageRuleArgs) ElementType ¶
func (UsageRuleArgs) ElementType() reflect.Type
func (UsageRuleArgs) ToUsageRuleOutput ¶
func (i UsageRuleArgs) ToUsageRuleOutput() UsageRuleOutput
func (UsageRuleArgs) ToUsageRuleOutputWithContext ¶
func (i UsageRuleArgs) ToUsageRuleOutputWithContext(ctx context.Context) UsageRuleOutput
type UsageRuleArray ¶
type UsageRuleArray []UsageRuleInput
func (UsageRuleArray) ElementType ¶
func (UsageRuleArray) ElementType() reflect.Type
func (UsageRuleArray) ToUsageRuleArrayOutput ¶
func (i UsageRuleArray) ToUsageRuleArrayOutput() UsageRuleArrayOutput
func (UsageRuleArray) ToUsageRuleArrayOutputWithContext ¶
func (i UsageRuleArray) ToUsageRuleArrayOutputWithContext(ctx context.Context) UsageRuleArrayOutput
type UsageRuleArrayInput ¶
type UsageRuleArrayInput interface { pulumi.Input ToUsageRuleArrayOutput() UsageRuleArrayOutput ToUsageRuleArrayOutputWithContext(context.Context) UsageRuleArrayOutput }
UsageRuleArrayInput is an input type that accepts UsageRuleArray and UsageRuleArrayOutput values. You can construct a concrete instance of `UsageRuleArrayInput` via:
UsageRuleArray{ UsageRuleArgs{...} }
type UsageRuleArrayOutput ¶
type UsageRuleArrayOutput struct{ *pulumi.OutputState }
func (UsageRuleArrayOutput) ElementType ¶
func (UsageRuleArrayOutput) ElementType() reflect.Type
func (UsageRuleArrayOutput) Index ¶
func (o UsageRuleArrayOutput) Index(i pulumi.IntInput) UsageRuleOutput
func (UsageRuleArrayOutput) ToUsageRuleArrayOutput ¶
func (o UsageRuleArrayOutput) ToUsageRuleArrayOutput() UsageRuleArrayOutput
func (UsageRuleArrayOutput) ToUsageRuleArrayOutputWithContext ¶
func (o UsageRuleArrayOutput) ToUsageRuleArrayOutputWithContext(ctx context.Context) UsageRuleArrayOutput
type UsageRuleInput ¶
type UsageRuleInput interface { pulumi.Input ToUsageRuleOutput() UsageRuleOutput ToUsageRuleOutputWithContext(context.Context) UsageRuleOutput }
UsageRuleInput is an input type that accepts UsageRuleArgs and UsageRuleOutput values. You can construct a concrete instance of `UsageRuleInput` via:
UsageRuleArgs{...}
type UsageRuleOutput ¶
type UsageRuleOutput struct{ *pulumi.OutputState }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
func (UsageRuleOutput) AllowUnregisteredCalls ¶
func (o UsageRuleOutput) AllowUnregisteredCalls() pulumi.BoolPtrOutput
If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application.
func (UsageRuleOutput) ElementType ¶
func (UsageRuleOutput) ElementType() reflect.Type
func (UsageRuleOutput) Selector ¶
func (o UsageRuleOutput) Selector() pulumi.StringPtrOutput
Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
func (UsageRuleOutput) SkipServiceControl ¶
func (o UsageRuleOutput) SkipServiceControl() pulumi.BoolPtrOutput
If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.
func (UsageRuleOutput) ToUsageRuleOutput ¶
func (o UsageRuleOutput) ToUsageRuleOutput() UsageRuleOutput
func (UsageRuleOutput) ToUsageRuleOutputWithContext ¶
func (o UsageRuleOutput) ToUsageRuleOutputWithContext(ctx context.Context) UsageRuleOutput
type UsageRuleResponse ¶
type UsageRuleResponse struct { // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. AllowUnregisteredCalls bool `pulumi:"allowUnregisteredCalls"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector string `pulumi:"selector"` // If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods. SkipServiceControl bool `pulumi:"skipServiceControl"` }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
type UsageRuleResponseArgs ¶
type UsageRuleResponseArgs struct { // If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application. AllowUnregisteredCalls pulumi.BoolInput `pulumi:"allowUnregisteredCalls"` // Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details. Selector pulumi.StringInput `pulumi:"selector"` // If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods. SkipServiceControl pulumi.BoolInput `pulumi:"skipServiceControl"` }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
func (UsageRuleResponseArgs) ElementType ¶
func (UsageRuleResponseArgs) ElementType() reflect.Type
func (UsageRuleResponseArgs) ToUsageRuleResponseOutput ¶
func (i UsageRuleResponseArgs) ToUsageRuleResponseOutput() UsageRuleResponseOutput
func (UsageRuleResponseArgs) ToUsageRuleResponseOutputWithContext ¶
func (i UsageRuleResponseArgs) ToUsageRuleResponseOutputWithContext(ctx context.Context) UsageRuleResponseOutput
type UsageRuleResponseArray ¶
type UsageRuleResponseArray []UsageRuleResponseInput
func (UsageRuleResponseArray) ElementType ¶
func (UsageRuleResponseArray) ElementType() reflect.Type
func (UsageRuleResponseArray) ToUsageRuleResponseArrayOutput ¶
func (i UsageRuleResponseArray) ToUsageRuleResponseArrayOutput() UsageRuleResponseArrayOutput
func (UsageRuleResponseArray) ToUsageRuleResponseArrayOutputWithContext ¶
func (i UsageRuleResponseArray) ToUsageRuleResponseArrayOutputWithContext(ctx context.Context) UsageRuleResponseArrayOutput
type UsageRuleResponseArrayInput ¶
type UsageRuleResponseArrayInput interface { pulumi.Input ToUsageRuleResponseArrayOutput() UsageRuleResponseArrayOutput ToUsageRuleResponseArrayOutputWithContext(context.Context) UsageRuleResponseArrayOutput }
UsageRuleResponseArrayInput is an input type that accepts UsageRuleResponseArray and UsageRuleResponseArrayOutput values. You can construct a concrete instance of `UsageRuleResponseArrayInput` via:
UsageRuleResponseArray{ UsageRuleResponseArgs{...} }
type UsageRuleResponseArrayOutput ¶
type UsageRuleResponseArrayOutput struct{ *pulumi.OutputState }
func (UsageRuleResponseArrayOutput) ElementType ¶
func (UsageRuleResponseArrayOutput) ElementType() reflect.Type
func (UsageRuleResponseArrayOutput) Index ¶
func (o UsageRuleResponseArrayOutput) Index(i pulumi.IntInput) UsageRuleResponseOutput
func (UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutput ¶
func (o UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutput() UsageRuleResponseArrayOutput
func (UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutputWithContext ¶
func (o UsageRuleResponseArrayOutput) ToUsageRuleResponseArrayOutputWithContext(ctx context.Context) UsageRuleResponseArrayOutput
type UsageRuleResponseInput ¶
type UsageRuleResponseInput interface { pulumi.Input ToUsageRuleResponseOutput() UsageRuleResponseOutput ToUsageRuleResponseOutputWithContext(context.Context) UsageRuleResponseOutput }
UsageRuleResponseInput is an input type that accepts UsageRuleResponseArgs and UsageRuleResponseOutput values. You can construct a concrete instance of `UsageRuleResponseInput` via:
UsageRuleResponseArgs{...}
type UsageRuleResponseOutput ¶
type UsageRuleResponseOutput struct{ *pulumi.OutputState }
Usage configuration rules for the service. NOTE: Under development. Use this rule to configure unregistered calls for the service. Unregistered calls are calls that do not contain consumer project identity. (Example: calls that do not contain an API key). By default, API methods do not allow unregistered calls, and each method call must be identified by a consumer project identity. Use this rule to allow/disallow unregistered calls. Example of an API that wants to allow unregistered calls for entire service. usage: rules: - selector: "*" allow_unregistered_calls: true Example of a method that wants to allow unregistered calls. usage: rules: - selector: "google.example.library.v1.LibraryService.CreateBook" allow_unregistered_calls: true
func (UsageRuleResponseOutput) AllowUnregisteredCalls ¶
func (o UsageRuleResponseOutput) AllowUnregisteredCalls() pulumi.BoolOutput
If true, the selected method allows unregistered calls, e.g. calls that don't identify any user or application.
func (UsageRuleResponseOutput) ElementType ¶
func (UsageRuleResponseOutput) ElementType() reflect.Type
func (UsageRuleResponseOutput) Selector ¶
func (o UsageRuleResponseOutput) Selector() pulumi.StringOutput
Selects the methods to which this rule applies. Use '*' to indicate all methods in all APIs. Refer to selector for syntax details.
func (UsageRuleResponseOutput) SkipServiceControl ¶
func (o UsageRuleResponseOutput) SkipServiceControl() pulumi.BoolOutput
If true, the selected method should skip service control and the control plane features, such as quota and billing, will not be available. This flag is used by Google Cloud Endpoints to bypass checks for internal methods, such as service health check methods.
func (UsageRuleResponseOutput) ToUsageRuleResponseOutput ¶
func (o UsageRuleResponseOutput) ToUsageRuleResponseOutput() UsageRuleResponseOutput
func (UsageRuleResponseOutput) ToUsageRuleResponseOutputWithContext ¶
func (o UsageRuleResponseOutput) ToUsageRuleResponseOutputWithContext(ctx context.Context) UsageRuleResponseOutput