1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigateway
  5. apigateway/v1beta
  6. Config

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigateway/v1beta.Config

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Creates a new ApiConfig in a given project and location. Auto-naming is currently not supported for this resource.

Create Config Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Config(name: string, args: ConfigArgs, opts?: CustomResourceOptions);
@overload
def Config(resource_name: str,
           args: ConfigArgs,
           opts: Optional[ResourceOptions] = None)

@overload
def Config(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           api_config_id: Optional[str] = None,
           api_id: Optional[str] = None,
           display_name: Optional[str] = None,
           gateway_config: Optional[ApigatewayGatewayConfigArgs] = None,
           gateway_service_account: Optional[str] = None,
           grpc_services: Optional[Sequence[ApigatewayApiConfigGrpcServiceDefinitionArgs]] = None,
           labels: Optional[Mapping[str, str]] = None,
           location: Optional[str] = None,
           managed_service_configs: Optional[Sequence[ApigatewayApiConfigFileArgs]] = None,
           openapi_documents: Optional[Sequence[ApigatewayApiConfigOpenApiDocumentArgs]] = None,
           project: Optional[str] = None)
func NewConfig(ctx *Context, name string, args ConfigArgs, opts ...ResourceOption) (*Config, error)
public Config(string name, ConfigArgs args, CustomResourceOptions? opts = null)
public Config(String name, ConfigArgs args)
public Config(String name, ConfigArgs args, CustomResourceOptions options)
type: google-native:apigateway/v1beta:Config
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var google_nativeConfigResource = new GoogleNative.APIGateway.V1Beta.Config("google-nativeConfigResource", new()
{
    ApiConfigId = "string",
    ApiId = "string",
    DisplayName = "string",
    GatewayConfig = new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayGatewayConfigArgs
    {
        BackendConfig = new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayBackendConfigArgs
        {
            GoogleServiceAccount = "string",
        },
    },
    GatewayServiceAccount = "string",
    GrpcServices = new[]
    {
        new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigGrpcServiceDefinitionArgs
        {
            FileDescriptorSet = new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileArgs
            {
                Contents = "string",
                Path = "string",
            },
            Source = new[]
            {
                new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileArgs
                {
                    Contents = "string",
                    Path = "string",
                },
            },
        },
    },
    Labels = 
    {
        { "string", "string" },
    },
    Location = "string",
    ManagedServiceConfigs = new[]
    {
        new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileArgs
        {
            Contents = "string",
            Path = "string",
        },
    },
    OpenapiDocuments = new[]
    {
        new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigOpenApiDocumentArgs
        {
            Document = new GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileArgs
            {
                Contents = "string",
                Path = "string",
            },
        },
    },
    Project = "string",
});
Copy
example, err := apigatewayv1beta.NewConfig(ctx, "google-nativeConfigResource", &apigatewayv1beta.ConfigArgs{
	ApiConfigId: pulumi.String("string"),
	ApiId:       pulumi.String("string"),
	DisplayName: pulumi.String("string"),
	GatewayConfig: &apigateway.ApigatewayGatewayConfigArgs{
		BackendConfig: &apigateway.ApigatewayBackendConfigArgs{
			GoogleServiceAccount: pulumi.String("string"),
		},
	},
	GatewayServiceAccount: pulumi.String("string"),
	GrpcServices: apigateway.ApigatewayApiConfigGrpcServiceDefinitionArray{
		&apigateway.ApigatewayApiConfigGrpcServiceDefinitionArgs{
			FileDescriptorSet: &apigateway.ApigatewayApiConfigFileArgs{
				Contents: pulumi.String("string"),
				Path:     pulumi.String("string"),
			},
			Source: apigateway.ApigatewayApiConfigFileArray{
				&apigateway.ApigatewayApiConfigFileArgs{
					Contents: pulumi.String("string"),
					Path:     pulumi.String("string"),
				},
			},
		},
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	ManagedServiceConfigs: apigateway.ApigatewayApiConfigFileArray{
		&apigateway.ApigatewayApiConfigFileArgs{
			Contents: pulumi.String("string"),
			Path:     pulumi.String("string"),
		},
	},
	OpenapiDocuments: apigateway.ApigatewayApiConfigOpenApiDocumentArray{
		&apigateway.ApigatewayApiConfigOpenApiDocumentArgs{
			Document: &apigateway.ApigatewayApiConfigFileArgs{
				Contents: pulumi.String("string"),
				Path:     pulumi.String("string"),
			},
		},
	},
	Project: pulumi.String("string"),
})
Copy
var google_nativeConfigResource = new Config("google-nativeConfigResource", ConfigArgs.builder()
    .apiConfigId("string")
    .apiId("string")
    .displayName("string")
    .gatewayConfig(ApigatewayGatewayConfigArgs.builder()
        .backendConfig(ApigatewayBackendConfigArgs.builder()
            .googleServiceAccount("string")
            .build())
        .build())
    .gatewayServiceAccount("string")
    .grpcServices(ApigatewayApiConfigGrpcServiceDefinitionArgs.builder()
        .fileDescriptorSet(ApigatewayApiConfigFileArgs.builder()
            .contents("string")
            .path("string")
            .build())
        .source(ApigatewayApiConfigFileArgs.builder()
            .contents("string")
            .path("string")
            .build())
        .build())
    .labels(Map.of("string", "string"))
    .location("string")
    .managedServiceConfigs(ApigatewayApiConfigFileArgs.builder()
        .contents("string")
        .path("string")
        .build())
    .openapiDocuments(ApigatewayApiConfigOpenApiDocumentArgs.builder()
        .document(ApigatewayApiConfigFileArgs.builder()
            .contents("string")
            .path("string")
            .build())
        .build())
    .project("string")
    .build());
Copy
google_native_config_resource = google_native.apigateway.v1beta.Config("google-nativeConfigResource",
    api_config_id="string",
    api_id="string",
    display_name="string",
    gateway_config={
        "backend_config": {
            "google_service_account": "string",
        },
    },
    gateway_service_account="string",
    grpc_services=[{
        "file_descriptor_set": {
            "contents": "string",
            "path": "string",
        },
        "source": [{
            "contents": "string",
            "path": "string",
        }],
    }],
    labels={
        "string": "string",
    },
    location="string",
    managed_service_configs=[{
        "contents": "string",
        "path": "string",
    }],
    openapi_documents=[{
        "document": {
            "contents": "string",
            "path": "string",
        },
    }],
    project="string")
Copy
const google_nativeConfigResource = new google_native.apigateway.v1beta.Config("google-nativeConfigResource", {
    apiConfigId: "string",
    apiId: "string",
    displayName: "string",
    gatewayConfig: {
        backendConfig: {
            googleServiceAccount: "string",
        },
    },
    gatewayServiceAccount: "string",
    grpcServices: [{
        fileDescriptorSet: {
            contents: "string",
            path: "string",
        },
        source: [{
            contents: "string",
            path: "string",
        }],
    }],
    labels: {
        string: "string",
    },
    location: "string",
    managedServiceConfigs: [{
        contents: "string",
        path: "string",
    }],
    openapiDocuments: [{
        document: {
            contents: "string",
            path: "string",
        },
    }],
    project: "string",
});
Copy
type: google-native:apigateway/v1beta:Config
properties:
    apiConfigId: string
    apiId: string
    displayName: string
    gatewayConfig:
        backendConfig:
            googleServiceAccount: string
    gatewayServiceAccount: string
    grpcServices:
        - fileDescriptorSet:
            contents: string
            path: string
          source:
            - contents: string
              path: string
    labels:
        string: string
    location: string
    managedServiceConfigs:
        - contents: string
          path: string
    openapiDocuments:
        - document:
            contents: string
            path: string
    project: string
Copy

Config Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Config resource accepts the following input properties:

ApiConfigId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
ApiId
This property is required.
Changes to this property will trigger replacement.
string
DisplayName string
Optional. Display name.
GatewayConfig Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayGatewayConfig
Immutable. Gateway specific configuration.
GatewayServiceAccount string
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
GrpcServices List<Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigGrpcServiceDefinition>
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
Labels Dictionary<string, string>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Location Changes to this property will trigger replacement. string
ManagedServiceConfigs List<Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFile>
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
OpenapiDocuments List<Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigOpenApiDocument>
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
Project Changes to this property will trigger replacement. string
ApiConfigId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
ApiId
This property is required.
Changes to this property will trigger replacement.
string
DisplayName string
Optional. Display name.
GatewayConfig ApigatewayGatewayConfigArgs
Immutable. Gateway specific configuration.
GatewayServiceAccount string
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
GrpcServices []ApigatewayApiConfigGrpcServiceDefinitionArgs
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
Labels map[string]string
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
Location Changes to this property will trigger replacement. string
ManagedServiceConfigs []ApigatewayApiConfigFileArgs
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
OpenapiDocuments []ApigatewayApiConfigOpenApiDocumentArgs
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
Project Changes to this property will trigger replacement. string
apiConfigId
This property is required.
Changes to this property will trigger replacement.
String
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
apiId
This property is required.
Changes to this property will trigger replacement.
String
displayName String
Optional. Display name.
gatewayConfig ApigatewayGatewayConfig
Immutable. Gateway specific configuration.
gatewayServiceAccount String
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
grpcServices List<ApigatewayApiConfigGrpcServiceDefinition>
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
labels Map<String,String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
location Changes to this property will trigger replacement. String
managedServiceConfigs List<ApigatewayApiConfigFile>
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
openapiDocuments List<ApigatewayApiConfigOpenApiDocument>
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
project Changes to this property will trigger replacement. String
apiConfigId
This property is required.
Changes to this property will trigger replacement.
string
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
apiId
This property is required.
Changes to this property will trigger replacement.
string
displayName string
Optional. Display name.
gatewayConfig ApigatewayGatewayConfig
Immutable. Gateway specific configuration.
gatewayServiceAccount string
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
grpcServices ApigatewayApiConfigGrpcServiceDefinition[]
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
labels {[key: string]: string}
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
location Changes to this property will trigger replacement. string
managedServiceConfigs ApigatewayApiConfigFile[]
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
openapiDocuments ApigatewayApiConfigOpenApiDocument[]
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
project Changes to this property will trigger replacement. string
api_config_id
This property is required.
Changes to this property will trigger replacement.
str
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
api_id
This property is required.
Changes to this property will trigger replacement.
str
display_name str
Optional. Display name.
gateway_config ApigatewayGatewayConfigArgs
Immutable. Gateway specific configuration.
gateway_service_account str
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
grpc_services Sequence[ApigatewayApiConfigGrpcServiceDefinitionArgs]
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
labels Mapping[str, str]
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
location Changes to this property will trigger replacement. str
managed_service_configs Sequence[ApigatewayApiConfigFileArgs]
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
openapi_documents Sequence[ApigatewayApiConfigOpenApiDocumentArgs]
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
project Changes to this property will trigger replacement. str
apiConfigId
This property is required.
Changes to this property will trigger replacement.
String
Required. Identifier to assign to the API Config. Must be unique within scope of the parent resource.
apiId
This property is required.
Changes to this property will trigger replacement.
String
displayName String
Optional. Display name.
gatewayConfig Property Map
Immutable. Gateway specific configuration.
gatewayServiceAccount String
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.
grpcServices List<Property Map>
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
labels Map<String>
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
location Changes to this property will trigger replacement. String
managedServiceConfigs List<Property Map>
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
openapiDocuments List<Property Map>
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
project Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the Config resource produces the following output properties:

CreateTime string
Created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
ServiceConfigId string
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
State string
State of the API Config.
UpdateTime string
Updated time.
CreateTime string
Created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
ServiceConfigId string
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
State string
State of the API Config.
UpdateTime string
Updated time.
createTime String
Created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
serviceConfigId String
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
state String
State of the API Config.
updateTime String
Updated time.
createTime string
Created time.
id string
The provider-assigned unique ID for this managed resource.
name string
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
serviceConfigId string
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
state string
State of the API Config.
updateTime string
Updated time.
create_time str
Created time.
id str
The provider-assigned unique ID for this managed resource.
name str
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
service_config_id str
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
state str
State of the API Config.
update_time str
Updated time.
createTime String
Created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
serviceConfigId String
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
state String
State of the API Config.
updateTime String
Updated time.

Supporting Types

ApigatewayApiConfigFile
, ApigatewayApiConfigFileArgs

Contents string
The bytes that constitute the file.
Path string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
Contents string
The bytes that constitute the file.
Path string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents String
The bytes that constitute the file.
path String
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents string
The bytes that constitute the file.
path string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents str
The bytes that constitute the file.
path str
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents String
The bytes that constitute the file.
path String
The file path (full or relative path). This is typically the path of the file when it is uploaded.

ApigatewayApiConfigFileResponse
, ApigatewayApiConfigFileResponseArgs

Contents This property is required. string
The bytes that constitute the file.
Path This property is required. string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
Contents This property is required. string
The bytes that constitute the file.
Path This property is required. string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents This property is required. String
The bytes that constitute the file.
path This property is required. String
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents This property is required. string
The bytes that constitute the file.
path This property is required. string
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents This property is required. str
The bytes that constitute the file.
path This property is required. str
The file path (full or relative path). This is typically the path of the file when it is uploaded.
contents This property is required. String
The bytes that constitute the file.
path This property is required. String
The file path (full or relative path). This is typically the path of the file when it is uploaded.

ApigatewayApiConfigGrpcServiceDefinition
, ApigatewayApiConfigGrpcServiceDefinitionArgs

FileDescriptorSet Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFile
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
Source List<Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFile>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
FileDescriptorSet ApigatewayApiConfigFile
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
Source []ApigatewayApiConfigFile
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet ApigatewayApiConfigFile
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source List<ApigatewayApiConfigFile>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet ApigatewayApiConfigFile
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source ApigatewayApiConfigFile[]
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
file_descriptor_set ApigatewayApiConfigFile
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source Sequence[ApigatewayApiConfigFile]
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet Property Map
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source List<Property Map>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.

ApigatewayApiConfigGrpcServiceDefinitionResponse
, ApigatewayApiConfigGrpcServiceDefinitionResponseArgs

FileDescriptorSet This property is required. Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileResponse
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
Source This property is required. List<Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileResponse>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
FileDescriptorSet This property is required. ApigatewayApiConfigFileResponse
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
Source This property is required. []ApigatewayApiConfigFileResponse
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet This property is required. ApigatewayApiConfigFileResponse
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source This property is required. List<ApigatewayApiConfigFileResponse>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet This property is required. ApigatewayApiConfigFileResponse
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source This property is required. ApigatewayApiConfigFileResponse[]
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
file_descriptor_set This property is required. ApigatewayApiConfigFileResponse
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source This property is required. Sequence[ApigatewayApiConfigFileResponse]
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.
fileDescriptorSet This property is required. Property Map
Input only. File descriptor set, generated by protoc. To generate, use protoc with imports and source info included. For an example test.proto file, the following command would put the value in a new file named out.pb. $ protoc --include_imports --include_source_info test.proto -o out.pb
source This property is required. List<Property Map>
Optional. Uncompiled proto files associated with the descriptor set, used for display purposes (server-side compilation is not supported). These should match the inputs to 'protoc' command used to generate file_descriptor_set.

ApigatewayApiConfigOpenApiDocument
, ApigatewayApiConfigOpenApiDocumentArgs

Document ApigatewayApiConfigFile
The OpenAPI Specification document file.
document ApigatewayApiConfigFile
The OpenAPI Specification document file.
document ApigatewayApiConfigFile
The OpenAPI Specification document file.
document ApigatewayApiConfigFile
The OpenAPI Specification document file.
document Property Map
The OpenAPI Specification document file.

ApigatewayApiConfigOpenApiDocumentResponse
, ApigatewayApiConfigOpenApiDocumentResponseArgs

Document This property is required. Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayApiConfigFileResponse
The OpenAPI Specification document file.
Document This property is required. ApigatewayApiConfigFileResponse
The OpenAPI Specification document file.
document This property is required. ApigatewayApiConfigFileResponse
The OpenAPI Specification document file.
document This property is required. ApigatewayApiConfigFileResponse
The OpenAPI Specification document file.
document This property is required. ApigatewayApiConfigFileResponse
The OpenAPI Specification document file.
document This property is required. Property Map
The OpenAPI Specification document file.

ApigatewayBackendConfig
, ApigatewayBackendConfigArgs

GoogleServiceAccount string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
GoogleServiceAccount string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount String
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
google_service_account str
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount String
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).

ApigatewayBackendConfigResponse
, ApigatewayBackendConfigResponseArgs

GoogleServiceAccount This property is required. string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
GoogleServiceAccount This property is required. string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount This property is required. String
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount This property is required. string
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
google_service_account This property is required. str
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).
googleServiceAccount This property is required. String
Google Cloud IAM service account used to sign OIDC tokens for backends that have authentication configured (https://cloud.google.com/service-infrastructure/docs/service-management/reference/rest/v1/services.configs#backend). This may either be the Service Account's email (i.e. "{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com") or its full resource name (i.e. "projects/{PROJECT}/accounts/{UNIQUE_ID}"). This is most often used when the backend is a GCP resource such as a Cloud Run Service or an IAP-secured service. Note that this token is always sent as an authorization header bearer token. The audience of the OIDC token is configured in the associated Service Config in the BackendRule option (https://github.com/googleapis/googleapis/blob/master/google/api/backend.proto#L125).

ApigatewayGatewayConfig
, ApigatewayGatewayConfigArgs

BackendConfig This property is required. Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayBackendConfig
Backend settings that are applied to all backends of the Gateway.
BackendConfig This property is required. ApigatewayBackendConfig
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. ApigatewayBackendConfig
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. ApigatewayBackendConfig
Backend settings that are applied to all backends of the Gateway.
backend_config This property is required. ApigatewayBackendConfig
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. Property Map
Backend settings that are applied to all backends of the Gateway.

ApigatewayGatewayConfigResponse
, ApigatewayGatewayConfigResponseArgs

BackendConfig This property is required. Pulumi.GoogleNative.APIGateway.V1Beta.Inputs.ApigatewayBackendConfigResponse
Backend settings that are applied to all backends of the Gateway.
BackendConfig This property is required. ApigatewayBackendConfigResponse
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. ApigatewayBackendConfigResponse
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. ApigatewayBackendConfigResponse
Backend settings that are applied to all backends of the Gateway.
backend_config This property is required. ApigatewayBackendConfigResponse
Backend settings that are applied to all backends of the Gateway.
backendConfig This property is required. Property Map
Backend settings that are applied to all backends of the Gateway.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi