From 4ce317260b7c937e72ae46500f06960fd0c9166c Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sat, 16 May 2020 00:38:15 +0000 Subject: [PATCH] Autogenerated update (2020-05-16) Update: - bigtableadmin_v1 - bigtableadmin_v2 - composer_v1beta1 - compute_alpha - compute_beta - compute_v1 - datacatalog_v1beta1 - file_v1 - file_v1beta1 - ml_v1 - servicecontrol_v1 --- generated/google/apis/bigtableadmin_v1.rb | 2 +- generated/google/apis/bigtableadmin_v2.rb | 2 +- .../google/apis/bigtableadmin_v2/service.rb | 8 +- generated/google/apis/composer_v1beta1.rb | 2 +- .../google/apis/composer_v1beta1/classes.rb | 58 + .../apis/composer_v1beta1/representations.rb | 30 + .../google/apis/composer_v1beta1/service.rb | 5 + generated/google/apis/compute_alpha.rb | 2 +- .../google/apis/compute_alpha/classes.rb | 200 ++- .../apis/compute_alpha/representations.rb | 27 + .../google/apis/compute_alpha/service.rb | 1493 +++++++++-------- generated/google/apis/compute_beta.rb | 2 +- generated/google/apis/compute_beta/classes.rb | 225 ++- .../apis/compute_beta/representations.rb | 47 + generated/google/apis/compute_beta/service.rb | 1182 ++++++------- generated/google/apis/compute_v1.rb | 2 +- generated/google/apis/compute_v1/classes.rb | 161 +- .../google/apis/compute_v1/representations.rb | 16 + generated/google/apis/compute_v1/service.rb | 83 + generated/google/apis/datacatalog_v1beta1.rb | 2 +- .../apis/datacatalog_v1beta1/classes.rb | 36 +- generated/google/apis/file_v1.rb | 2 +- generated/google/apis/file_v1/classes.rb | 1156 +++++++++++++ .../google/apis/file_v1/representations.rb | 381 +++++ generated/google/apis/file_v1beta1.rb | 2 +- generated/google/apis/file_v1beta1/classes.rb | 1156 +++++++++++++ .../apis/file_v1beta1/representations.rb | 381 +++++ generated/google/apis/ml_v1.rb | 2 +- generated/google/apis/ml_v1/classes.rb | 102 +- .../google/apis/ml_v1/representations.rb | 4 + generated/google/apis/ml_v1/service.rb | 17 +- generated/google/apis/servicecontrol_v1.rb | 2 +- .../google/apis/servicecontrol_v1/classes.rb | 6 +- 33 files changed, 5323 insertions(+), 1473 deletions(-) diff --git a/generated/google/apis/bigtableadmin_v1.rb b/generated/google/apis/bigtableadmin_v1.rb index 1602319c7..3ade813da 100644 --- a/generated/google/apis/bigtableadmin_v1.rb +++ b/generated/google/apis/bigtableadmin_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV1 VERSION = 'V1' - REVISION = '20200211' + REVISION = '20200424' end end end diff --git a/generated/google/apis/bigtableadmin_v2.rb b/generated/google/apis/bigtableadmin_v2.rb index 3c403c347..d530cee50 100644 --- a/generated/google/apis/bigtableadmin_v2.rb +++ b/generated/google/apis/bigtableadmin_v2.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/bigtable/ module BigtableadminV2 VERSION = 'V2' - REVISION = '20200211' + REVISION = '20200424' # Administer your Cloud Bigtable tables and clusters AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin' diff --git a/generated/google/apis/bigtableadmin_v2/service.rb b/generated/google/apis/bigtableadmin_v2/service.rb index 896a4f920..1f02da02d 100644 --- a/generated/google/apis/bigtableadmin_v2/service.rb +++ b/generated/google/apis/bigtableadmin_v2/service.rb @@ -883,7 +883,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a Table or Backup resource. + # Gets the access control policy for a Table resource. # Returns an empty policy if the resource exists but does not have a policy # set. # @param [String] resource @@ -919,7 +919,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on a Table or Backup resource. + # Sets the access control policy on a Table resource. # Replaces any existing policy. # @param [String] resource # REQUIRED: The resource for which the policy is being specified. @@ -1205,7 +1205,7 @@ module Google execute_or_queue_command(command, &block) end - # Gets the access control policy for a Table or Backup resource. + # Gets the access control policy for a Table resource. # Returns an empty policy if the resource exists but does not have a policy # set. # @param [String] resource @@ -1326,7 +1326,7 @@ module Google execute_or_queue_command(command, &block) end - # Sets the access control policy on a Table or Backup resource. + # Sets the access control policy on a Table resource. # Replaces any existing policy. # @param [String] resource # REQUIRED: The resource for which the policy is being specified. diff --git a/generated/google/apis/composer_v1beta1.rb b/generated/google/apis/composer_v1beta1.rb index da522b339..885dcbd14 100644 --- a/generated/google/apis/composer_v1beta1.rb +++ b/generated/google/apis/composer_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/composer/ module ComposerV1beta1 VERSION = 'V1beta1' - REVISION = '20200421' + REVISION = '20200505' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/composer_v1beta1/classes.rb b/generated/google/apis/composer_v1beta1/classes.rb index c25ae7707..32b178c6a 100644 --- a/generated/google/apis/composer_v1beta1/classes.rb +++ b/generated/google/apis/composer_v1beta1/classes.rb @@ -53,6 +53,27 @@ module Google end end + # The configuration of Cloud SQL instance that is used by the Apache Airflow + # software. + class DatabaseConfig + include Google::Apis::Core::Hashable + + # Optional. Cloud SQL tier used by Airflow database. + # If not specified, db-n1-standard-2 will be used. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @machine_type = args[:machine_type] if args.key?(:machine_type) + end + end + # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -159,6 +180,12 @@ module Google # @return [String] attr_accessor :dag_gcs_prefix + # The configuration of Cloud SQL instance that is used by the Apache Airflow + # software. + # Corresponds to the JSON property `databaseConfig` + # @return [Google::Apis::ComposerV1beta1::DatabaseConfig] + attr_accessor :database_config + # Output only. The Kubernetes Engine cluster used to run this environment. # Corresponds to the JSON property `gkeCluster` # @return [String] @@ -187,6 +214,11 @@ module Google # @return [Google::Apis::ComposerV1beta1::SoftwareConfig] attr_accessor :software_config + # The configuration settings for the Airflow web server App Engine instance. + # Corresponds to the JSON property `webServerConfig` + # @return [Google::Apis::ComposerV1beta1::WebServerConfig] + attr_accessor :web_server_config + # Network-level access control policy for the Airflow web server. # Corresponds to the JSON property `webServerNetworkAccessControl` # @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl] @@ -200,11 +232,13 @@ module Google def update!(**args) @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri) @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix) + @database_config = args[:database_config] if args.key?(:database_config) @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster) @node_config = args[:node_config] if args.key?(:node_config) @node_count = args[:node_count] if args.key?(:node_count) @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config) @software_config = args[:software_config] if args.key?(:software_config) + @web_server_config = args[:web_server_config] if args.key?(:web_server_config) @web_server_network_access_control = args[:web_server_network_access_control] if args.key?(:web_server_network_access_control) end end @@ -863,6 +897,30 @@ module Google end end + # The configuration settings for the Airflow web server App Engine instance. + class WebServerConfig + include Google::Apis::Core::Hashable + + # Optional. Machine type on which Airflow web server is running. + # For example: composer-n1-webserver-2, composer-n1-webserver-4, + # composer-n1-webserver-8. + # If not specified, composer-n1-webserver-2 will be used. + # Value custom is returned only in response, if Airflow web server parameters + # were manually changed to a non-standard values. + # Corresponds to the JSON property `machineType` + # @return [String] + attr_accessor :machine_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @machine_type = args[:machine_type] if args.key?(:machine_type) + end + end + # Network-level access control policy for the Airflow web server. class WebServerNetworkAccessControl include Google::Apis::Core::Hashable diff --git a/generated/google/apis/composer_v1beta1/representations.rb b/generated/google/apis/composer_v1beta1/representations.rb index 6ad969af0..633d0fdf4 100644 --- a/generated/google/apis/composer_v1beta1/representations.rb +++ b/generated/google/apis/composer_v1beta1/representations.rb @@ -28,6 +28,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class DatabaseConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +124,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class WebServerConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class WebServerNetworkAccessControl class Representation < Google::Apis::Core::JsonRepresentation; end @@ -132,6 +144,13 @@ module Google end end + class DatabaseConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :machine_type, as: 'machineType' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -157,6 +176,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :airflow_uri, as: 'airflowUri' property :dag_gcs_prefix, as: 'dagGcsPrefix' + property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation + property :gke_cluster, as: 'gkeCluster' property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation @@ -165,6 +186,8 @@ module Google property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1beta1::SoftwareConfig, decorator: Google::Apis::ComposerV1beta1::SoftwareConfig::Representation + property :web_server_config, as: 'webServerConfig', class: Google::Apis::ComposerV1beta1::WebServerConfig, decorator: Google::Apis::ComposerV1beta1::WebServerConfig::Representation + property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl::Representation end @@ -298,6 +321,13 @@ module Google end end + class WebServerConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :machine_type, as: 'machineType' + end + end + class WebServerNetworkAccessControl # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/composer_v1beta1/service.rb b/generated/google/apis/composer_v1beta1/service.rb index 8d280ea49..484335a1d 100644 --- a/generated/google/apis/composer_v1beta1/service.rb +++ b/generated/google/apis/composer_v1beta1/service.rb @@ -283,6 +283,11 @@ module Google # # # + # config.webServerNetworkAccessControl + # Replace the environment's current WebServerNetworkAccessControl. + # + # + # # config.softwareConfig.airflowConfigOverrides # Replace all Apache Airflow config overrides. If a replacement config # overrides map is not included in `environment`, all config overrides diff --git a/generated/google/apis/compute_alpha.rb b/generated/google/apis/compute_alpha.rb index 87b09fd27..cb9a78db4 100644 --- a/generated/google/apis/compute_alpha.rb +++ b/generated/google/apis/compute_alpha.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeAlpha VERSION = 'Alpha' - REVISION = '20200331' + REVISION = '20200427' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_alpha/classes.rb b/generated/google/apis/compute_alpha/classes.rb index 0c00833e0..1023828e3 100644 --- a/generated/google/apis/compute_alpha/classes.rb +++ b/generated/google/apis/compute_alpha/classes.rb @@ -1150,8 +1150,9 @@ module Google # @return [String] attr_accessor :location_hint - # Compute Engine Long Term Release. When specified, VMs that have this policy - # become long term release (internal: stable fleet) VMs. + # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138): + # Remove this field. Compute Engine Long Term Release. When specified, VMs that + # have this policy become long term release (internal: stable fleet) VMs. # For all VM shapes, this should result in fewer disruptions due to software # updates and greater predictability via 1 week extended notifications. # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/ @@ -3182,7 +3183,7 @@ module Google # and the backends are instance groups. The named port must be defined on each # backend instance group. This parameter has no meaning if the backends are NEGs. # Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP - # Load Blaancing). + # Load Balancing). # Corresponds to the JSON property `portName` # @return [String] attr_accessor :port_name @@ -5191,13 +5192,15 @@ module Google # Specifies the regualar expression patterns that match allowed origins. For # regular expression grammar please see en.cppreference.com/w/cpp/regex/ # ecmascript - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOriginRegexes` # @return [Array] attr_accessor :allow_origin_regexes # Specifies the list of origins that will be allowed to do CORS requests. - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOrigins` # @return [Array] attr_accessor :allow_origins @@ -6955,12 +6958,15 @@ module Google end end + # Represents an external VPN gateway. # External VPN gateway is the on-premises VPN gateway(s) or another cloud - # provider's VPN gateway that connects to your Google Cloud VPN gateway. To - # create a highly available VPN from Google Cloud to your on-premises side or - # another Cloud provider's VPN gateway, you must create a external VPN gateway - # resource in GCP, which provides the information to GCP about your external VPN - # gateway. + # provider's VPN gateway that connects to your Google Cloud VPN gateway. + # To create a highly available VPN from Google Cloud Platform to your VPN + # gateway or another cloud provider's VPN gateway, you must create a external + # VPN gateway resource with information about the other gateway. + # For more information about using external VPN gateways, see Creating an HA + # VPN gateway and tunnel pair to a peer VPN. (== resource_for `$api_version`. + # externalVpnGateways ==) class ExternalVpnGateway include Google::Apis::Core::Hashable @@ -7216,7 +7222,7 @@ module Google # @return [String] attr_accessor :content - # + # The file type of source file. # Corresponds to the JSON property `fileType` # @return [String] attr_accessor :file_type @@ -8536,16 +8542,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -9263,9 +9271,8 @@ module Google end end - # A HealthCheckService defines a set of backends on which to perform periodic - # health checks and an endpoint to which to send notification of changes in the - # health status of the backends. + # Represents a Health-Check as a Service resource. + # (== resource_for `$api_version`.regionHealthCheckServices ==) class HealthCheckService include Google::Apis::Core::Hashable @@ -11988,7 +11995,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeAlpha::Scheduling] attr_accessor :scheduling @@ -14789,7 +14796,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeAlpha::Scheduling] attr_accessor :scheduling @@ -18054,10 +18061,7 @@ module Google class LogConfigDataAccessOptions include Google::Apis::Core::Hashable - # Whether Gin logging should happen in a fail-closed manner at the caller. This - # is currently supported in the LocalIAM implementation, Stubby C++, and Stubby - # Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626): - # Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding. + # # Corresponds to the JSON property `logMode` # @return [String] attr_accessor :log_mode @@ -19417,8 +19421,11 @@ module Google end # Represents a collection of network endpoints. - # For more information read Network endpoint groups overview. (== resource_for `$ - # api_version`.networkEndpointGroups ==) Next ID: 21 + # A network endpoint group (NEG) defines how a set of endpoints should be + # reached, whether they are reachable, and where they are located. For more + # information about using NEGs, see Setting up internet NEGs or Setting up + # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (== + # resource_for `$api_version`.globalNetworkEndpointGroups ==) class NetworkEndpointGroup include Google::Apis::Core::Hashable @@ -20038,7 +20045,7 @@ module Google attr_accessor :endpoint_filters # Optional query parameter for showing the health status of each network - # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, + # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, # the health status of network endpoints will not be provided. # Corresponds to the JSON property `healthStatus` # @return [String] @@ -22510,8 +22517,12 @@ module Google end end + # Represents a notification endpoint. # A notification endpoint resource defines an endpoint to receive notifications # when there are status changes detected by the associated health check service. + # For more information, see Health checks overview. (== resource_for `$ + # api_version`.notificationEndpoint ==) (== resource_for `$api_version`. + # regionNotificationEndpoints ==) class NotificationEndpoint include Google::Apis::Core::Hashable @@ -23607,7 +23618,12 @@ module Google end end - # Represents a PacketMirroring resource. + # Represents a Packet Mirroring resource. + # Packet Mirroring clones the traffic of specified instances in your Virtual + # Private Cloud (VPC) network and forwards it to a collector destination, such + # as an instance group of an internal TCP/UDP load balancer, for analysis or + # examination. For more information about setting up Packet Mirroring, see Using + # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==) class PacketMirroring include Google::Apis::Core::Hashable @@ -24539,16 +24555,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -24623,6 +24641,9 @@ module Google # 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -27313,16 +27334,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -30669,7 +30692,7 @@ module Google end end - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 class Scheduling include Google::Apis::Core::Hashable @@ -30698,8 +30721,9 @@ module Google # @return [String] attr_accessor :location_hint - # Compute Engine Long Term Release. When specified, VMs that have this policy - # become long term release (internal: stable fleet) VMs. + # DEPRECATED, please use maintenance_freeze_duration_hours. TODO(b/154158138): + # Remove this field. Compute Engine Long Term Release. When specified, VMs that + # have this policy become long term release (internal: stable fleet) VMs. # For all VM shapes, this should result in fewer disruptions due to software # updates and greater predictability via 1 week extended notifications. # For GPU VMs, this should also result in an 2 week uptime guarantee. See go/ @@ -31963,19 +31987,20 @@ module Google class ShieldedInstanceConfig include Google::Apis::Core::Hashable - # Defines whether the instance has integrity monitoring enabled. + # Defines whether the instance has integrity monitoring enabled. Enabled by + # default. # Corresponds to the JSON property `enableIntegrityMonitoring` # @return [Boolean] attr_accessor :enable_integrity_monitoring alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring - # Defines whether the instance has Secure Boot enabled. + # Defines whether the instance has Secure Boot enabled. Disabled by default. # Corresponds to the JSON property `enableSecureBoot` # @return [Boolean] attr_accessor :enable_secure_boot alias_method :enable_secure_boot?, :enable_secure_boot - # Defines whether the instance has the vTPM enabled. + # Defines whether the instance has the vTPM enabled. Enabled by default. # Corresponds to the JSON property `enableVtpm` # @return [Boolean] attr_accessor :enable_vtpm @@ -32639,7 +32664,7 @@ module Google # @return [Array] attr_accessor :network_interfaces - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeAlpha::Scheduling] attr_accessor :scheduling @@ -33655,7 +33680,8 @@ module Google # Whether to enable flow logging for this subnetwork. If this field is not # explicitly set, it will not appear in get listings. If not set the default - # behavior is to disable flow logging. + # behavior is to disable flow logging. This field isn't supported with the + # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `enableFlowLogs` # @return [Boolean] attr_accessor :enable_flow_logs @@ -33781,7 +33807,8 @@ module Google # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to - # PRIVATE_RFC_1918. + # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose + # field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `purpose` # @return [String] attr_accessor :purpose @@ -34448,6 +34475,17 @@ module Google # @return [String] attr_accessor :description + # Fingerprint of this resource. A hash of the contents stored in this object. + # This field is used in optimistic locking. This field will be ignored when + # inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in + # order to patch/update the TargetGrpcProxy; otherwise, the request will fail + # with error 412 conditionNotMet. To see the latest fingerprint, make a get() + # request to retrieve the TargetGrpcProxy. + # Corresponds to the JSON property `fingerprint` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :fingerprint + # [Output Only] The unique identifier for the resource type. The server # generates this identifier. # Corresponds to the JSON property `id` @@ -34508,6 +34546,7 @@ module Google def update!(**args) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @description = args[:description] if args.key?(:description) + @fingerprint = args[:fingerprint] if args.key?(:fingerprint) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @@ -35172,6 +35211,25 @@ module Google end end + # + class TargetHttpsProxiesSetCertificateMapRequest + include Google::Apis::Core::Hashable + + # URL of the Certificate Map to associate with this TargetHttpsProxy. + # Corresponds to the JSON property `certificateMap` + # @return [String] + attr_accessor :certificate_map + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @certificate_map = args[:certificate_map] if args.key?(:certificate_map) + end + end + # class TargetHttpsProxiesSetQuicOverrideRequest include Google::Apis::Core::Hashable @@ -36667,6 +36725,25 @@ module Google end end + # + class TargetSslProxiesSetCertificateMapRequest + include Google::Apis::Core::Hashable + + # URL of the Certificate Map to associate with this TargetSslProxy. + # Corresponds to the JSON property `certificateMap` + # @return [String] + attr_accessor :certificate_map + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @certificate_map = args[:certificate_map] if args.key?(:certificate_map) + end + end + # class TargetSslProxiesSetProxyHeaderRequest include Google::Apis::Core::Hashable @@ -38966,7 +39043,12 @@ module Google end end - # Represents a VPN gateway resource. Next ID: 13 + # Represents a HA VPN gateway. + # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely + # connect your on-premises network to your Google Cloud Virtual Private Cloud + # network through an IPsec VPN connection in a single region. For more + # information about Cloud HA VPN solutions, see Cloud VPN topologies . (== + # resource_for `$api_version`.vpnGateways ==) class VpnGateway include Google::Apis::Core::Hashable @@ -40601,16 +40683,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** diff --git a/generated/google/apis/compute_alpha/representations.rb b/generated/google/apis/compute_alpha/representations.rb index 7a2a391ec..c84a2136e 100644 --- a/generated/google/apis/compute_alpha/representations.rb +++ b/generated/google/apis/compute_alpha/representations.rb @@ -4618,6 +4618,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetHttpsProxiesSetCertificateMapRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetHttpsProxiesSetQuicOverrideRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4834,6 +4840,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class TargetSslProxiesSetCertificateMapRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class TargetSslProxiesSetProxyHeaderRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -13842,6 +13854,7 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :creation_timestamp, as: 'creationTimestamp' property :description, as: 'description' + property :fingerprint, :base64 => true, as: 'fingerprint' property :id, :numeric_string => true, as: 'id' property :kind, as: 'kind' property :name, as: 'name' @@ -14022,6 +14035,13 @@ module Google end end + class TargetHttpsProxiesSetCertificateMapRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :certificate_map, as: 'certificateMap' + end + end + class TargetHttpsProxiesSetQuicOverrideRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14400,6 +14420,13 @@ module Google end end + class TargetSslProxiesSetCertificateMapRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :certificate_map, as: 'certificateMap' + end + end + class TargetSslProxiesSetProxyHeaderRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_alpha/service.rb b/generated/google/apis/compute_alpha/service.rb index 0336b0d62..6679f7fd5 100644 --- a/generated/google/apis/compute_alpha/service.rb +++ b/generated/google/apis/compute_alpha/service.rb @@ -47,7 +47,7 @@ module Google attr_accessor :user_ip def initialize - super('https://compute.googleapis.com/', 'compute/alpha/projects/') + super('https://compute.googleapis.com/', 'compute/alpha/') @batch_path = 'batch/compute/alpha' end @@ -118,7 +118,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? @@ -161,7 +161,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorType::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorType command.params['project'] = project unless project.nil? @@ -235,7 +235,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeAlpha::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::AcceleratorTypeList command.params['project'] = project unless project.nil? @@ -318,7 +318,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_address_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/addresses', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeAlpha::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressAggregatedList command.params['project'] = project unless project.nil? @@ -372,7 +372,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -412,7 +412,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? @@ -462,7 +462,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses', options) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -538,7 +538,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses', options) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? @@ -594,7 +594,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -637,7 +637,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -718,7 +718,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_autoscaler_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerAggregatedList command.params['project'] = project unless project.nil? @@ -772,7 +772,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -813,7 +813,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? @@ -863,7 +863,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -939,7 +939,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', options) command.response_representation = Google::Apis::ComputeAlpha::AutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::AutoscalerList command.params['project'] = project unless project.nil? @@ -996,7 +996,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1039,7 +1039,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -1093,7 +1093,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1146,7 +1146,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1196,7 +1196,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -1247,7 +1247,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -1286,7 +1286,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucket command.params['project'] = project unless project.nil? @@ -1325,7 +1325,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_bucket_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -1373,7 +1373,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets', options) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1447,7 +1447,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets', options) command.response_representation = Google::Apis::ComputeAlpha::BackendBucketList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendBucketList command.params['project'] = project unless project.nil? @@ -1501,7 +1501,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1542,7 +1542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_backend_bucket_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -1581,7 +1581,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_backend_bucket_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -1632,7 +1632,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1684,7 +1684,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeAlpha::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -1766,7 +1766,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceAggregatedList command.params['project'] = project unless project.nil? @@ -1818,7 +1818,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -1870,7 +1870,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -1909,7 +1909,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? @@ -1947,7 +1947,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation @@ -1998,7 +1998,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2072,7 +2072,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices', options) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? @@ -2128,7 +2128,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2180,7 +2180,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/setSecurityPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2220,7 +2220,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -2273,7 +2273,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2354,7 +2354,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_disk_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeAggregatedList command.params['project'] = project unless project.nil? @@ -2398,7 +2398,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? @@ -2472,7 +2472,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes', options) command.response_representation = Google::Apis::ComputeAlpha::DiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskTypeList command.params['project'] = project unless project.nil? @@ -2528,7 +2528,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::DisksAddResourcePoliciesRequest::Representation command.request_object = disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2610,7 +2610,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_disk_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/disks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeAlpha::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskAggregatedList command.params['project'] = project unless project.nil? @@ -2669,7 +2669,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2725,7 +2725,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -2766,7 +2766,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? @@ -2808,7 +2808,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -2863,7 +2863,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks', options) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -2940,7 +2940,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks', options) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? @@ -2995,7 +2995,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::DisksRemoveResourcePoliciesRequest::Representation command.request_object = disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3050,7 +3050,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeAlpha::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3094,7 +3094,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -3148,7 +3148,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3191,7 +3191,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -3241,7 +3241,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -3279,7 +3279,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGateway command.params['project'] = project unless project.nil? @@ -3326,7 +3326,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways', options) command.request_representation = Google::Apis::ComputeAlpha::ExternalVpnGateway::Representation command.request_object = external_vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3399,7 +3399,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::ExternalVpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::ExternalVpnGatewayList command.params['project'] = project unless project.nil? @@ -3441,7 +3441,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3480,7 +3480,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -3529,7 +3529,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:delete, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -3566,7 +3566,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.response_class = Google::Apis::ComputeAlpha::Firewall command.params['project'] = project unless project.nil? @@ -3613,7 +3613,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls', options) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3686,7 +3686,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls', options) command.response_representation = Google::Apis::ComputeAlpha::FirewallList::Representation command.response_class = Google::Apis::ComputeAlpha::FirewallList command.params['project'] = project unless project.nil? @@ -3740,7 +3740,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:patch, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3780,7 +3780,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -3832,7 +3832,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:put, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeAlpha::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -3913,7 +3913,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_forwarding_rule_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? @@ -3967,7 +3967,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -4007,7 +4007,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? @@ -4057,7 +4057,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules', options) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4134,7 +4134,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? @@ -4191,7 +4191,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4246,7 +4246,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4301,7 +4301,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4344,7 +4344,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -4394,7 +4394,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -4432,7 +4432,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeAlpha::Address::Representation command.response_class = Google::Apis::ComputeAlpha::Address command.params['project'] = project unless project.nil? @@ -4479,7 +4479,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses', options) command.request_representation = Google::Apis::ComputeAlpha::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4552,7 +4552,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses', options) command.response_representation = Google::Apis::ComputeAlpha::AddressList::Representation command.response_class = Google::Apis::ComputeAlpha::AddressList command.params['project'] = project unless project.nil? @@ -4594,7 +4594,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4633,7 +4633,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -4682,7 +4682,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -4720,7 +4720,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRule command.params['project'] = project unless project.nil? @@ -4767,7 +4767,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules', options) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4841,7 +4841,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules', options) command.response_representation = Google::Apis::ComputeAlpha::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeAlpha::ForwardingRuleList command.params['project'] = project unless project.nil? @@ -4895,7 +4895,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeAlpha::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4936,7 +4936,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -4987,7 +4987,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -5027,7 +5027,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -5078,7 +5078,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -5130,7 +5130,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -5180,7 +5180,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -5220,7 +5220,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? @@ -5267,7 +5267,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -5341,7 +5341,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? @@ -5419,7 +5419,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? @@ -5502,7 +5502,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_global_operation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/operations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeAlpha::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationAggregatedList command.params['project'] = project unless project.nil? @@ -5543,7 +5543,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/global/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? @@ -5578,7 +5578,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/global/operations/{operation}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -5649,7 +5649,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations', options) + command = make_simple_command(:get, 'projects/{project}/global/operations', options) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? @@ -5699,7 +5699,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/global/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -5893,7 +5893,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_public_delegated_prefix(project, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:delete, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -5930,7 +5930,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_public_delegated_prefix(project, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefix command.params['project'] = project unless project.nil? @@ -5977,7 +5977,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_public_delegated_prefix(project, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/publicDelegatedPrefixes', options) + command = make_simple_command(:post, 'projects/{project}/global/publicDelegatedPrefixes', options) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6050,7 +6050,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_public_delegated_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/publicDelegatedPrefixes', options) + command = make_simple_command(:get, 'projects/{project}/global/publicDelegatedPrefixes', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList command.params['project'] = project unless project.nil? @@ -6104,7 +6104,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_global_public_delegated_prefix(project, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:patch, 'projects/{project}/global/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6186,7 +6186,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthChecksAggregatedList command.params['project'] = project unless project.nil? @@ -6238,7 +6238,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -6276,7 +6276,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheck command.params['project'] = project unless project.nil? @@ -6323,7 +6323,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6396,7 +6396,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckList command.params['project'] = project unless project.nil? @@ -6450,7 +6450,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6490,7 +6490,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -6541,7 +6541,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6591,7 +6591,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -6629,7 +6629,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheck command.params['project'] = project unless project.nil? @@ -6676,7 +6676,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks', options) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6750,7 +6750,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpHealthCheckList command.params['project'] = project unless project.nil? @@ -6804,7 +6804,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6844,7 +6844,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -6895,7 +6895,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -6945,7 +6945,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -6983,7 +6983,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheck command.params['project'] = project unless project.nil? @@ -7030,7 +7030,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks', options) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7104,7 +7104,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HttpsHealthCheckList command.params['project'] = project unless project.nil? @@ -7158,7 +7158,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7198,7 +7198,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -7249,7 +7249,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7299,7 +7299,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/images/{image}', options) + command = make_simple_command(:delete, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -7349,7 +7349,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{image}/deprecate', options) command.request_representation = Google::Apis::ComputeAlpha::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7389,7 +7389,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{image}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? @@ -7425,7 +7425,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/family/{family}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/family/{family}', options) command.response_representation = Google::Apis::ComputeAlpha::Image::Representation command.response_class = Google::Apis::ComputeAlpha::Image command.params['project'] = project unless project.nil? @@ -7464,7 +7464,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -7514,7 +7514,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images', options) + command = make_simple_command(:post, 'projects/{project}/global/images', options) command.request_representation = Google::Apis::ComputeAlpha::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7593,7 +7593,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images', options) + command = make_simple_command(:get, 'projects/{project}/global/images', options) command.response_representation = Google::Apis::ComputeAlpha::ImageList::Representation command.response_class = Google::Apis::ComputeAlpha::ImageList command.params['project'] = project unless project.nil? @@ -7646,7 +7646,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_image(project, image, image_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/images/{image}', options) + command = make_simple_command(:patch, 'projects/{project}/global/images/{image}', options) command.request_representation = Google::Apis::ComputeAlpha::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7687,7 +7687,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -7727,7 +7727,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7766,7 +7766,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -7829,7 +7829,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -7911,7 +7911,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_instance_group_manager_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? @@ -7957,7 +7957,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8015,7 +8015,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersCreateInstancesRequest::Representation command.request_object = instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8070,7 +8070,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -8132,7 +8132,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8176,7 +8176,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_delete_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8218,7 +8218,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? @@ -8274,7 +8274,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8351,7 +8351,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagerList command.params['project'] = project unless project.nil? @@ -8435,7 +8435,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? @@ -8517,7 +8517,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? @@ -8598,7 +8598,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListPerInstanceConfigsResp command.params['project'] = project unless project.nil? @@ -8659,7 +8659,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8716,7 +8716,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersPatchPerInstanceConfigsReq::Representation command.request_object = instance_group_managers_patch_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8779,7 +8779,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8851,7 +8851,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -8915,7 +8915,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -8970,7 +8970,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9026,7 +9026,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9085,7 +9085,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9128,7 +9128,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -9185,7 +9185,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9242,7 +9242,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_update_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9298,7 +9298,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9380,7 +9380,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_instance_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? @@ -9436,7 +9436,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -9477,7 +9477,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? @@ -9527,7 +9527,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9604,7 +9604,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupList command.params['project'] = project unless project.nil? @@ -9686,7 +9686,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupsListInstances::Representation @@ -9748,7 +9748,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9802,7 +9802,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -9845,7 +9845,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -9897,7 +9897,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -9935,7 +9935,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplate command.params['project'] = project unless project.nil? @@ -9974,7 +9974,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -10024,7 +10024,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -10098,7 +10098,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceTemplateList command.params['project'] = project unless project.nil? @@ -10140,7 +10140,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -10179,7 +10179,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -10233,7 +10233,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -10290,7 +10290,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_resource_policies(project, zone, instance, instances_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesAddResourcePoliciesRequest::Representation command.request_object = instances_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -10373,7 +10373,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceAggregatedList command.params['project'] = project unless project.nil? @@ -10434,7 +10434,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_instance_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/attachDisk', options) command.request_representation = Google::Apis::ComputeAlpha::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -10487,7 +10487,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def bulk_instance_insert(project, zone, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/bulkInsert', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/bulkInsert', options) command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation command.request_object = bulk_insert_instance_resource_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -10540,7 +10540,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -10595,7 +10595,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -10651,7 +10651,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_instance_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -10693,7 +10693,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeAlpha::Instance::Representation command.response_class = Google::Apis::ComputeAlpha::Instance command.params['project'] = project unless project.nil? @@ -10734,7 +10734,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? @@ -10778,7 +10778,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) command.response_representation = Google::Apis::ComputeAlpha::GuestAttributes::Representation command.response_class = Google::Apis::ComputeAlpha::GuestAttributes command.params['project'] = project unless project.nil? @@ -10822,7 +10822,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -10862,7 +10862,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/screenshot', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/screenshot', options) command.response_representation = Google::Apis::ComputeAlpha::Screenshot::Representation command.response_class = Google::Apis::ComputeAlpha::Screenshot command.params['project'] = project unless project.nil? @@ -10908,7 +10908,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/serialPort', options) command.response_representation = Google::Apis::ComputeAlpha::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeAlpha::SerialPortOutput command.params['project'] = project unless project.nil? @@ -10949,7 +10949,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) command.response_representation = Google::Apis::ComputeAlpha::ShieldedInstanceIdentity::Representation command.response_class = Google::Apis::ComputeAlpha::ShieldedInstanceIdentity command.params['project'] = project unless project.nil? @@ -10988,7 +10988,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) command.response_representation = Google::Apis::ComputeAlpha::ShieldedVmIdentity::Representation command.response_class = Google::Apis::ComputeAlpha::ShieldedVmIdentity command.params['project'] = project unless project.nil? @@ -11054,7 +11054,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances', options) command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11132,7 +11132,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceList command.params['project'] = project unless project.nil? @@ -11214,7 +11214,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/referrers', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceListReferrers command.params['project'] = project unless project.nil? @@ -11270,7 +11270,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_resource_policies(project, zone, instance, instances_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesRemoveResourcePoliciesRequest::Representation command.request_object = instances_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11324,7 +11324,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/reset', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -11376,7 +11376,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/resume', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/resume', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11431,7 +11431,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -11488,7 +11488,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -11532,7 +11532,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -11586,7 +11586,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11641,7 +11641,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineResources', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11696,7 +11696,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineType', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11750,7 +11750,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMetadata', options) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11806,7 +11806,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11860,7 +11860,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_name(project, zone, instance, instances_set_name_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setName', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setName', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetNameRequest::Representation command.request_object = instances_set_name_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11914,7 +11914,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling', options) command.request_representation = Google::Apis::ComputeAlpha::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -11969,7 +11969,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12025,7 +12025,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ShieldedInstanceIntegrityPolicy::Representation command.request_object = shielded_instance_integrity_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12081,7 +12081,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation command.request_object = shielded_vm_integrity_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12136,7 +12136,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setTags', options) command.request_representation = Google::Apis::ComputeAlpha::Tags::Representation command.request_object = tags_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12178,7 +12178,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -12229,7 +12229,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/start', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -12282,7 +12282,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) command.request_representation = Google::Apis::ComputeAlpha::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12342,7 +12342,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def stop_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -12402,7 +12402,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/suspend', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/suspend', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -12444,7 +12444,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -12508,7 +12508,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance(project, zone, instance, instance_object = nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.request_representation = Google::Apis::ComputeAlpha::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12568,7 +12568,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) command.request_representation = Google::Apis::ComputeAlpha::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12625,7 +12625,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) command.request_representation = Google::Apis::ComputeAlpha::DisplayDevice::Representation command.request_object = display_device_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12681,7 +12681,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12738,7 +12738,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) command.request_representation = Google::Apis::ComputeAlpha::ShieldedInstanceConfig::Representation command.request_object = shielded_instance_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12794,7 +12794,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) command.request_representation = Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -12876,7 +12876,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? @@ -12930,7 +12930,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -12970,7 +12970,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachment command.params['project'] = project unless project.nil? @@ -13012,7 +13012,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -13065,7 +13065,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13143,7 +13143,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectAttachmentList command.params['project'] = project unless project.nil? @@ -13200,7 +13200,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.request_representation = Google::Apis::ComputeAlpha::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13244,7 +13244,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_attachment_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -13298,7 +13298,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13341,7 +13341,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -13381,7 +13381,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations/{interconnectLocation}', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocation command.params['project'] = project unless project.nil? @@ -13453,7 +13453,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectLocationList command.params['project'] = project unless project.nil? @@ -13494,7 +13494,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_location_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnectLocations/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnectLocations/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -13543,7 +13543,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:delete, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -13581,7 +13581,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.response_class = Google::Apis::ComputeAlpha::Interconnect command.params['project'] = project unless project.nil? @@ -13617,7 +13617,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getDiagnostics', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectsGetDiagnosticsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectsGetDiagnosticsResponse command.params['project'] = project unless project.nil? @@ -13656,7 +13656,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -13704,7 +13704,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects', options) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13777,7 +13777,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects', options) command.response_representation = Google::Apis::ComputeAlpha::InterconnectList::Representation command.response_class = Google::Apis::ComputeAlpha::InterconnectList command.params['project'] = project unless project.nil? @@ -13831,7 +13831,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:patch, 'projects/{project}/global/interconnects/{interconnect}', options) command.request_representation = Google::Apis::ComputeAlpha::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13872,7 +13872,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -13912,7 +13912,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -13951,7 +13951,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -13992,7 +13992,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{licenseCode}', options) command.response_representation = Google::Apis::ComputeAlpha::LicenseCode::Representation command.response_class = Google::Apis::ComputeAlpha::LicenseCode command.params['project'] = project unless project.nil? @@ -14032,7 +14032,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_code_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenseCodes/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -14072,7 +14072,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_license_code_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/licenseCodes/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -14113,7 +14113,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_license_code_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenseCodes/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/licenseCodes/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -14163,7 +14163,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/licenses/{license}', options) + command = make_simple_command(:delete, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -14201,7 +14201,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{license}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeAlpha::License::Representation command.response_class = Google::Apis::ComputeAlpha::License command.params['project'] = project unless project.nil? @@ -14241,7 +14241,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -14290,7 +14290,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses', options) command.request_representation = Google::Apis::ComputeAlpha::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -14369,7 +14369,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses', options) command.response_representation = Google::Apis::ComputeAlpha::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeAlpha::LicensesListResponse command.params['project'] = project unless project.nil? @@ -14412,7 +14412,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -14453,7 +14453,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_license_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -14503,7 +14503,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:delete, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -14541,7 +14541,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeAlpha::MachineImage::Representation command.response_class = Google::Apis::ComputeAlpha::MachineImage command.params['project'] = project unless project.nil? @@ -14580,7 +14580,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -14632,7 +14632,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages', options) command.request_representation = Google::Apis::ComputeAlpha::MachineImage::Representation command.request_object = machine_image_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -14707,7 +14707,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages', options) command.response_representation = Google::Apis::ComputeAlpha::MachineImageList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineImageList command.params['project'] = project unless project.nil? @@ -14749,7 +14749,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_machine_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -14788,7 +14788,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -14868,7 +14868,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_machine_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeAggregatedList command.params['project'] = project unless project.nil? @@ -14912,7 +14912,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes/{machineType}', options) command.response_representation = Google::Apis::ComputeAlpha::MachineType::Representation command.response_class = Google::Apis::ComputeAlpha::MachineType command.params['project'] = project unless project.nil? @@ -14986,7 +14986,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes', options) command.response_representation = Google::Apis::ComputeAlpha::MachineTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::MachineTypeList command.params['project'] = project unless project.nil? @@ -15069,7 +15069,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? @@ -15126,7 +15126,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -15184,7 +15184,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -15238,7 +15238,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -15282,7 +15282,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? @@ -15333,7 +15333,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -15411,7 +15411,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? @@ -15494,7 +15494,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation @@ -15541,7 +15541,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -15592,7 +15592,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/addPeering', options) command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -15642,7 +15642,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networks/{network}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -15680,7 +15680,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeAlpha::Network::Representation command.response_class = Google::Apis::ComputeAlpha::Network command.params['project'] = project unless project.nil? @@ -15716,7 +15716,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? @@ -15763,7 +15763,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks', options) + command = make_simple_command(:post, 'projects/{project}/global/networks', options) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -15836,7 +15836,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks', options) + command = make_simple_command(:get, 'projects/{project}/global/networks', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkList command.params['project'] = project unless project.nil? @@ -15916,7 +15916,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_ip_addresses(project, network, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, types: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/listIpAddresses', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listIpAddresses', options) command.response_representation = Google::Apis::ComputeAlpha::IpAddressesList::Representation command.response_class = Google::Apis::ComputeAlpha::IpAddressesList command.params['project'] = project unless project.nil? @@ -16005,7 +16005,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_ip_owners(project, network, filter: nil, ip_cidr_range: nil, max_results: nil, order_by: nil, owner_projects: nil, owner_types: nil, page_token: nil, return_partial_success: nil, subnet_name: nil, subnet_region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/listIpOwners', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listIpOwners', options) command.response_representation = Google::Apis::ComputeAlpha::IpOwnerList::Representation command.response_class = Google::Apis::ComputeAlpha::IpOwnerList command.params['project'] = project unless project.nil? @@ -16095,7 +16095,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listPeeringRoutes', options) command.response_representation = Google::Apis::ComputeAlpha::ExchangedPeeringRoutesList::Representation command.response_class = Google::Apis::ComputeAlpha::ExchangedPeeringRoutesList command.params['project'] = project unless project.nil? @@ -16152,7 +16152,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}', options) command.request_representation = Google::Apis::ComputeAlpha::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16203,7 +16203,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/removePeering', options) command.request_representation = Google::Apis::ComputeAlpha::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16253,7 +16253,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/switchToCustomMode', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -16291,7 +16291,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -16343,7 +16343,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}/updatePeering', options) command.request_representation = Google::Apis::ComputeAlpha::NetworksUpdatePeeringRequest::Representation command.request_object = networks_update_peering_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16396,7 +16396,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest::Representation command.request_object = node_groups_add_nodes_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16479,7 +16479,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroupAggregatedList command.params['project'] = project unless project.nil? @@ -16533,7 +16533,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -16585,7 +16585,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsDeleteNodesRequest::Representation command.request_object = node_groups_delete_nodes_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16629,7 +16629,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroup command.params['project'] = project unless project.nil? @@ -16671,7 +16671,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -16724,7 +16724,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups', options) command.request_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16802,7 +16802,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroupList command.params['project'] = project unless project.nil? @@ -16882,7 +16882,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) command.response_representation = Google::Apis::ComputeAlpha::NodeGroupsListNodes::Representation command.response_class = Google::Apis::ComputeAlpha::NodeGroupsListNodes command.params['project'] = project unless project.nil? @@ -16938,7 +16938,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.request_representation = Google::Apis::ComputeAlpha::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -16982,7 +16982,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -17035,7 +17035,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) command.request_representation = Google::Apis::ComputeAlpha::NodeGroupsSetNodeTemplateRequest::Representation command.request_object = node_groups_set_node_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -17078,7 +17078,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -17159,7 +17159,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? @@ -17213,7 +17213,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -17254,7 +17254,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTemplate command.params['project'] = project unless project.nil? @@ -17296,7 +17296,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -17347,7 +17347,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates', options) command.request_representation = Google::Apis::ComputeAlpha::NodeTemplate::Representation command.request_object = node_template_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -17423,7 +17423,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTemplateList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTemplateList command.params['project'] = project unless project.nil? @@ -17468,7 +17468,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -17510,7 +17510,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -17591,7 +17591,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTypeAggregatedList command.params['project'] = project unless project.nil? @@ -17635,7 +17635,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes/{nodeType}', options) command.response_representation = Google::Apis::ComputeAlpha::NodeType::Representation command.response_class = Google::Apis::ComputeAlpha::NodeType command.params['project'] = project unless project.nil? @@ -17709,7 +17709,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes', options) command.response_representation = Google::Apis::ComputeAlpha::NodeTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::NodeTypeList command.params['project'] = project unless project.nil? @@ -18491,7 +18491,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? @@ -18545,7 +18545,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -18585,7 +18585,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroring command.params['project'] = project unless project.nil? @@ -18635,7 +18635,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings', options) command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -18712,7 +18712,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings', options) command.response_representation = Google::Apis::ComputeAlpha::PacketMirroringList::Representation command.response_class = Google::Apis::ComputeAlpha::PacketMirroringList command.params['project'] = project unless project.nil? @@ -18769,7 +18769,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.request_representation = Google::Apis::ComputeAlpha::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -18812,7 +18812,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -18860,7 +18860,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnHost', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -18907,7 +18907,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnResource', options) command.request_representation = Google::Apis::ComputeAlpha::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -18954,7 +18954,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnHost', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -19001,7 +19001,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnResource', options) command.request_representation = Google::Apis::ComputeAlpha::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19037,7 +19037,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}', options) + command = make_simple_command(:get, 'projects/{project}', options) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? @@ -19071,7 +19071,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnHost', options) + command = make_simple_command(:get, 'projects/{project}/getXpnHost', options) command.response_representation = Google::Apis::ComputeAlpha::Project::Representation command.response_class = Google::Apis::ComputeAlpha::Project command.params['project'] = project unless project.nil? @@ -19139,7 +19139,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnResources', options) + command = make_simple_command(:get, 'projects/{project}/getXpnResources', options) command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources command.params['project'] = project unless project.nil? @@ -19211,7 +19211,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/listXpnHosts', options) + command = make_simple_command(:post, 'projects/{project}/listXpnHosts', options) command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeAlpha::XpnHostList::Representation @@ -19262,7 +19262,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_project_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveDisk', options) + command = make_simple_command(:post, 'projects/{project}/moveDisk', options) command.request_representation = Google::Apis::ComputeAlpha::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19310,7 +19310,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_project_instance(project, instance_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveInstance', options) + command = make_simple_command(:post, 'projects/{project}/moveInstance', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceMoveRequest::Representation command.request_object = instance_move_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19359,7 +19359,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options) + command = make_simple_command(:post, 'projects/{project}/setCommonInstanceMetadata', options) command.request_representation = Google::Apis::ComputeAlpha::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19409,7 +19409,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options) + command = make_simple_command(:post, 'projects/{project}/setDefaultNetworkTier', options) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19459,7 +19459,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_default_service_account(project, projects_set_default_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setDefaultServiceAccount', options) + command = make_simple_command(:post, 'projects/{project}/setDefaultServiceAccount', options) command.request_representation = Google::Apis::ComputeAlpha::ProjectsSetDefaultServiceAccountRequest::Representation command.request_object = projects_set_default_service_account_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19509,7 +19509,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setUsageExportBucket', options) + command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', options) command.request_representation = Google::Apis::ComputeAlpha::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19558,7 +19558,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_public_advertised_prefix(project, public_advertised_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) + command = make_simple_command(:delete, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -19595,7 +19595,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_public_advertised_prefix(project, public_advertised_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) + command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix command.params['project'] = project unless project.nil? @@ -19642,7 +19642,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_public_advertised_prefix(project, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/publicAdvertisedPrefixes', options) + command = make_simple_command(:post, 'projects/{project}/global/publicAdvertisedPrefixes', options) command.request_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.request_object = public_advertised_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19715,7 +19715,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_public_advertised_prefixes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/publicAdvertisedPrefixes', options) + command = make_simple_command(:get, 'projects/{project}/global/publicAdvertisedPrefixes', options) command.response_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicAdvertisedPrefixList command.params['project'] = project unless project.nil? @@ -19769,7 +19769,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_public_advertised_prefix(project, public_advertised_prefix, public_advertised_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) + command = make_simple_command(:patch, 'projects/{project}/global/publicAdvertisedPrefixes/{publicAdvertisedPrefix}', options) command.request_representation = Google::Apis::ComputeAlpha::PublicAdvertisedPrefix::Representation command.request_object = public_advertised_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -19851,7 +19851,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_public_delegated_prefix_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/publicDelegatedPrefixes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/publicDelegatedPrefixes', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixAggregatedList command.params['project'] = project unless project.nil? @@ -19905,7 +19905,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_public_delegated_prefix(project, region, public_delegated_prefix, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -19945,7 +19945,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_public_delegated_prefix(project, region, public_delegated_prefix, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefix command.params['project'] = project unless project.nil? @@ -19995,7 +19995,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_public_delegated_prefix(project, region, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/publicDelegatedPrefixes', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', options) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20071,7 +20071,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_public_delegated_prefixes(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/publicDelegatedPrefixes', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/publicDelegatedPrefixes', options) command.response_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList::Representation command.response_class = Google::Apis::ComputeAlpha::PublicDelegatedPrefixList command.params['project'] = project unless project.nil? @@ -20128,7 +20128,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_public_delegated_prefix(project, region, public_delegated_prefix, public_delegated_prefix_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/publicDelegatedPrefixes/{publicDelegatedPrefix}', options) command.request_representation = Google::Apis::ComputeAlpha::PublicDelegatedPrefix::Representation command.request_object = public_delegated_prefix_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20181,7 +20181,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -20221,7 +20221,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.response_class = Google::Apis::ComputeAlpha::Autoscaler command.params['project'] = project unless project.nil? @@ -20271,7 +20271,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20347,7 +20347,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', options) command.response_representation = Google::Apis::ComputeAlpha::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionAutoscalerList command.params['project'] = project unless project.nil? @@ -20404,7 +20404,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20447,7 +20447,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -20501,7 +20501,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeAlpha::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20554,7 +20554,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -20594,7 +20594,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.response_class = Google::Apis::ComputeAlpha::BackendService command.params['project'] = project unless project.nil? @@ -20633,7 +20633,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeAlpha::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeAlpha::BackendServiceGroupHealth::Representation @@ -20687,7 +20687,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20764,7 +20764,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices', options) command.response_representation = Google::Apis::ComputeAlpha::BackendServiceList::Representation command.response_class = Google::Apis::ComputeAlpha::BackendServiceList command.params['project'] = project unless project.nil? @@ -20823,7 +20823,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -20866,7 +20866,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -20922,7 +20922,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeAlpha::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21004,7 +21004,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/commitments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options) command.response_representation = Google::Apis::ComputeAlpha::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentAggregatedList command.params['project'] = project unless project.nil? @@ -21048,7 +21048,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments/{commitment}', options) command.response_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.response_class = Google::Apis::ComputeAlpha::Commitment command.params['project'] = project unless project.nil? @@ -21098,7 +21098,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments', options) command.request_representation = Google::Apis::ComputeAlpha::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21174,7 +21174,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments', options) command.response_representation = Google::Apis::ComputeAlpha::CommitmentList::Representation command.response_class = Google::Apis::ComputeAlpha::CommitmentList command.params['project'] = project unless project.nil? @@ -21218,7 +21218,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_commitment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -21271,7 +21271,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments/{commitment}/updateReservations', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/updateReservations', options) command.request_representation = Google::Apis::ComputeAlpha::RegionCommitmentsUpdateReservationsRequest::Representation command.request_object = region_commitments_update_reservations_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21314,7 +21314,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeAlpha::DiskType::Representation command.response_class = Google::Apis::ComputeAlpha::DiskType command.params['project'] = project unless project.nil? @@ -21388,7 +21388,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes', options) command.response_representation = Google::Apis::ComputeAlpha::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionDiskTypeList command.params['project'] = project unless project.nil? @@ -21444,7 +21444,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksAddResourcePoliciesRequest::Representation command.request_object = region_disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21502,7 +21502,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21559,7 +21559,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -21599,7 +21599,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeAlpha::Disk::Representation command.response_class = Google::Apis::ComputeAlpha::Disk command.params['project'] = project unless project.nil? @@ -21641,7 +21641,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -21694,7 +21694,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks', options) command.request_representation = Google::Apis::ComputeAlpha::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21771,7 +21771,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks', options) command.response_representation = Google::Apis::ComputeAlpha::DiskList::Representation command.response_class = Google::Apis::ComputeAlpha::DiskList command.params['project'] = project unless project.nil? @@ -21826,7 +21826,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksRemoveResourcePoliciesRequest::Representation command.request_object = region_disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21880,7 +21880,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeAlpha::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -21924,7 +21924,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -21977,7 +21977,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22020,7 +22020,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -22073,7 +22073,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -22114,7 +22114,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckService command.params['project'] = project unless project.nil? @@ -22164,7 +22164,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22241,7 +22241,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckServicesList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckServicesList command.params['project'] = project unless project.nil? @@ -22299,7 +22299,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22342,7 +22342,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_health_check_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -22394,7 +22394,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -22435,7 +22435,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheck command.params['project'] = project unless project.nil? @@ -22485,7 +22485,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22561,7 +22561,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks', options) command.response_representation = Google::Apis::ComputeAlpha::HealthCheckList::Representation command.response_class = Google::Apis::ComputeAlpha::HealthCheckList command.params['project'] = project unless project.nil? @@ -22618,7 +22618,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22661,7 +22661,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_health_check_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -22715,7 +22715,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeAlpha::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22773,7 +22773,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_in_place_snapshot(project, region, in_place_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/inPlaceSnapshots/{inPlaceSnapshot}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/inPlaceSnapshots/{inPlaceSnapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -22813,7 +22813,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_in_place_snapshot(project, region, in_place_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/inPlaceSnapshots/{inPlaceSnapshot}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/inPlaceSnapshots/{inPlaceSnapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::InPlaceSnapshot::Representation command.response_class = Google::Apis::ComputeAlpha::InPlaceSnapshot command.params['project'] = project unless project.nil? @@ -22855,7 +22855,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_in_place_snapshot_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/inPlaceSnapshots/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/inPlaceSnapshots/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -22905,7 +22905,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_in_place_snapshot(project, region, in_place_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/inPlaceSnapshots', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/inPlaceSnapshots', options) command.request_representation = Google::Apis::ComputeAlpha::InPlaceSnapshot::Representation command.request_object = in_place_snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -22982,7 +22982,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_in_place_snapshots(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/inPlaceSnapshots', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/inPlaceSnapshots', options) command.response_representation = Google::Apis::ComputeAlpha::InPlaceSnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::InPlaceSnapshotList command.params['project'] = project unless project.nil? @@ -23027,7 +23027,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_in_place_snapshot_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/inPlaceSnapshots/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/inPlaceSnapshots/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -23081,7 +23081,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_in_place_snapshot_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/inPlaceSnapshots/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/inPlaceSnapshots/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23124,7 +23124,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_in_place_snapshot_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/inPlaceSnapshots/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/inPlaceSnapshots/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -23188,7 +23188,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23231,7 +23231,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = region_instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23289,7 +23289,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersCreateInstancesRequest::Representation command.request_object = region_instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23343,7 +23343,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -23405,7 +23405,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23448,7 +23448,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation command.request_object = region_instance_group_manager_delete_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23489,7 +23489,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManager command.params['project'] = project unless project.nil? @@ -23544,7 +23544,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23621,7 +23621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerList command.params['project'] = project unless project.nil? @@ -23704,7 +23704,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? @@ -23784,7 +23784,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? @@ -23864,7 +23864,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstanceConfigsResp command.params['project'] = project unless project.nil? @@ -23925,7 +23925,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -23981,7 +23981,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerPatchInstanceConfigReq::Representation command.request_object = region_instance_group_manager_patch_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24044,7 +24044,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24107,7 +24107,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -24161,7 +24161,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24216,7 +24216,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24271,7 +24271,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24314,7 +24314,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -24371,7 +24371,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24427,7 +24427,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation command.request_object = region_instance_group_manager_update_instance_config_req_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24469,7 +24469,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::InstanceGroup::Representation command.response_class = Google::Apis::ComputeAlpha::InstanceGroup command.params['project'] = project unless project.nil? @@ -24544,7 +24544,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups', options) command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupList command.params['project'] = project unless project.nil? @@ -24627,7 +24627,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsListInstances::Representation @@ -24685,7 +24685,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24728,7 +24728,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -24780,7 +24780,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def bulk_region_instance_insert(project, region, bulk_insert_instance_resource_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instances/bulkInsert', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instances/bulkInsert', options) command.request_representation = Google::Apis::ComputeAlpha::BulkInsertInstanceResource::Representation command.request_object = bulk_insert_instance_resource_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -24835,7 +24835,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_network_endpoint_group(project, region, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -24877,7 +24877,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_network_endpoint_group(project, region, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup command.params['project'] = project unless project.nil? @@ -24928,7 +24928,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_network_endpoint_group(project, region, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -25006,7 +25006,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_network_endpoint_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList command.params['project'] = project unless project.nil? @@ -25060,7 +25060,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -25100,7 +25100,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation command.response_class = Google::Apis::ComputeAlpha::NotificationEndpoint command.params['project'] = project unless project.nil? @@ -25150,7 +25150,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.request_representation = Google::Apis::ComputeAlpha::NotificationEndpoint::Representation command.request_object = notification_endpoint_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -25226,7 +25226,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.response_representation = Google::Apis::ComputeAlpha::NotificationEndpointList::Representation command.response_class = Google::Apis::ComputeAlpha::NotificationEndpointList command.params['project'] = project unless project.nil? @@ -25270,7 +25270,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_notification_endpoint_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -25311,7 +25311,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? @@ -25348,7 +25348,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -25422,7 +25422,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? @@ -25475,7 +25475,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -25525,7 +25525,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -25566,7 +25566,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificate command.params['project'] = project unless project.nil? @@ -25616,7 +25616,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates', options) command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -25693,7 +25693,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateList command.params['project'] = project unless project.nil? @@ -25737,7 +25737,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_ssl_certificate_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -25789,7 +25789,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -25830,7 +25830,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy command.params['project'] = project unless project.nil? @@ -25880,7 +25880,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -25957,7 +25957,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList command.params['project'] = project unless project.nil? @@ -26012,7 +26012,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26055,7 +26055,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_target_http_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -26107,7 +26107,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -26148,7 +26148,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy command.params['project'] = project unless project.nil? @@ -26198,7 +26198,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26275,7 +26275,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList command.params['project'] = project unless project.nil? @@ -26330,7 +26330,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeAlpha::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = region_target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26384,7 +26384,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26427,7 +26427,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_target_https_proxy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -26470,7 +26470,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -26511,7 +26511,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMap command.params['project'] = project unless project.nil? @@ -26552,7 +26552,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26597,7 +26597,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeAlpha::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26675,7 +26675,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapList command.params['project'] = project unless project.nil? @@ -26723,7 +26723,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26766,7 +26766,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_url_map_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -26810,7 +26810,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -26854,7 +26854,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeAlpha::RegionUrlMapsValidateRequest::Representation command.request_object = region_url_maps_validate_request_object command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation @@ -26894,7 +26894,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}', options) command.response_representation = Google::Apis::ComputeAlpha::Region::Representation command.response_class = Google::Apis::ComputeAlpha::Region command.params['project'] = project unless project.nil? @@ -26965,7 +26965,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions', options) + command = make_simple_command(:get, 'projects/{project}/regions', options) command.response_representation = Google::Apis::ComputeAlpha::RegionList::Representation command.response_class = Google::Apis::ComputeAlpha::RegionList command.params['project'] = project unless project.nil? @@ -27047,7 +27047,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/reservations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options) command.response_representation = Google::Apis::ComputeAlpha::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ReservationAggregatedList command.params['project'] = project unless project.nil? @@ -27101,7 +27101,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -27141,7 +27141,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeAlpha::Reservation::Representation command.response_class = Google::Apis::ComputeAlpha::Reservation command.params['project'] = project unless project.nil? @@ -27183,7 +27183,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -27234,7 +27234,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations', options) command.request_representation = Google::Apis::ComputeAlpha::Reservation::Representation command.request_object = reservation_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -27311,7 +27311,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations', options) command.response_representation = Google::Apis::ComputeAlpha::ReservationList::Representation command.response_class = Google::Apis::ComputeAlpha::ReservationList command.params['project'] = project unless project.nil? @@ -27367,7 +27367,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{reservation}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/resize', options) command.request_representation = Google::Apis::ComputeAlpha::ReservationsResizeRequest::Representation command.request_object = reservations_resize_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -27411,7 +27411,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_reservation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -27453,7 +27453,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -27534,7 +27534,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? @@ -27588,7 +27588,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -27628,7 +27628,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation command.response_class = Google::Apis::ComputeAlpha::ResourcePolicy command.params['project'] = project unless project.nil? @@ -27670,7 +27670,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -27720,7 +27720,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies', options) command.request_representation = Google::Apis::ComputeAlpha::ResourcePolicy::Representation command.request_object = resource_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -27797,7 +27797,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies', options) command.response_representation = Google::Apis::ComputeAlpha::ResourcePolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::ResourcePolicyList command.params['project'] = project unless project.nil? @@ -27842,7 +27842,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -27884,7 +27884,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_resource_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -27965,7 +27965,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_router_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/routers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeAlpha::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterAggregatedList command.params['project'] = project unless project.nil? @@ -28019,7 +28019,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -28060,7 +28060,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeAlpha::Router::Representation command.response_class = Google::Apis::ComputeAlpha::Router command.params['project'] = project unless project.nil? @@ -28141,7 +28141,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) command.response_representation = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList::Representation command.response_class = Google::Apis::ComputeAlpha::VmEndpointNatMappingsList command.params['project'] = project unless project.nil? @@ -28186,7 +28186,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getRouterStatus', options) command.response_representation = Google::Apis::ComputeAlpha::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeAlpha::RouterStatusResponse command.params['project'] = project unless project.nil? @@ -28236,7 +28236,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers', options) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -28312,7 +28312,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers', options) command.response_representation = Google::Apis::ComputeAlpha::RouterList::Representation command.response_class = Google::Apis::ComputeAlpha::RouterList command.params['project'] = project unless project.nil? @@ -28369,7 +28369,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -28413,7 +28413,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/preview', options) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::RoutersPreviewResponse::Representation @@ -28455,7 +28455,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -28511,7 +28511,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeAlpha::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -28562,7 +28562,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/routes/{route}', options) + command = make_simple_command(:delete, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -28600,7 +28600,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes/{route}', options) + command = make_simple_command(:get, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeAlpha::Route::Representation command.response_class = Google::Apis::ComputeAlpha::Route command.params['project'] = project unless project.nil? @@ -28647,7 +28647,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes', options) + command = make_simple_command(:post, 'projects/{project}/global/routes', options) command.request_representation = Google::Apis::ComputeAlpha::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -28720,7 +28720,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes', options) + command = make_simple_command(:get, 'projects/{project}/global/routes', options) command.response_representation = Google::Apis::ComputeAlpha::RouteList::Representation command.response_class = Google::Apis::ComputeAlpha::RouteList command.params['project'] = project unless project.nil? @@ -28761,7 +28761,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/routes/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -28802,7 +28802,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/addRule', options) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -28852,7 +28852,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -28889,7 +28889,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicy command.params['project'] = project unless project.nil? @@ -28927,7 +28927,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}/getRule', options) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyRule command.params['project'] = project unless project.nil? @@ -28977,7 +28977,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies', options) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -29051,7 +29051,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies', options) command.response_representation = Google::Apis::ComputeAlpha::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPolicyList command.params['project'] = project unless project.nil? @@ -29127,7 +29127,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) command.response_representation = Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation command.response_class = Google::Apis::ComputeAlpha::SecurityPoliciesListPreconfiguredExpressionSetsResponse command.params['project'] = project unless project.nil? @@ -29179,7 +29179,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -29223,7 +29223,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options) command.request_representation = Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -29265,7 +29265,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/removeRule', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -29304,7 +29304,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -29343,7 +29343,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -29394,7 +29394,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_service_attachment(project, region, service_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -29434,7 +29434,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_service_attachment(project, region, service_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options) command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation command.response_class = Google::Apis::ComputeAlpha::ServiceAttachment command.params['project'] = project unless project.nil? @@ -29476,7 +29476,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_service_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -29527,7 +29527,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_service_attachment(project, region, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/serviceAttachments', options) command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation command.request_object = service_attachment_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -29603,7 +29603,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_service_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/serviceAttachments', options) command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentList::Representation command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentList command.params['project'] = project unless project.nil? @@ -29648,7 +29648,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_service_attachment_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -29690,7 +29690,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_service_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -29744,7 +29744,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:delete, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -29782,7 +29782,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::Snapshot::Representation command.response_class = Google::Apis::ComputeAlpha::Snapshot command.params['project'] = project unless project.nil? @@ -29821,7 +29821,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -29894,7 +29894,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots', options) command.response_representation = Google::Apis::ComputeAlpha::SnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::SnapshotList command.params['project'] = project unless project.nil? @@ -29936,7 +29936,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -29976,7 +29976,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -30015,7 +30015,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -30096,7 +30096,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateAggregatedList command.params['project'] = project unless project.nil? @@ -30148,7 +30148,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -30186,7 +30186,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificate command.params['project'] = project unless project.nil? @@ -30233,7 +30233,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates', options) command.request_representation = Google::Apis::ComputeAlpha::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -30307,7 +30307,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options) command.response_representation = Google::Apis::ComputeAlpha::SslCertificateList::Representation command.response_class = Google::Apis::ComputeAlpha::SslCertificateList command.params['project'] = project unless project.nil? @@ -30348,7 +30348,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -30399,7 +30399,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -30437,7 +30437,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.response_class = Google::Apis::ComputeAlpha::SslPolicy command.params['project'] = project unless project.nil? @@ -30484,7 +30484,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies', options) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -30557,7 +30557,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies', options) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesList command.params['project'] = project unless project.nil? @@ -30633,7 +30633,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/listAvailableFeatures', options) command.response_representation = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeAlpha::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? @@ -30686,7 +30686,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.request_representation = Google::Apis::ComputeAlpha::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -30726,7 +30726,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -30806,7 +30806,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_subnetwork_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkAggregatedList command.params['project'] = project unless project.nil? @@ -30860,7 +30860,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -30912,7 +30912,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = subnetworks_expand_ip_cidr_range_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -30955,7 +30955,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.response_class = Google::Apis::ComputeAlpha::Subnetwork command.params['project'] = project unless project.nil? @@ -30997,7 +30997,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -31048,7 +31048,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks', options) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -31124,7 +31124,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks', options) command.response_representation = Google::Apis::ComputeAlpha::SubnetworkList::Representation command.response_class = Google::Apis::ComputeAlpha::SubnetworkList command.params['project'] = project unless project.nil? @@ -31202,7 +31202,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options) command.response_representation = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UsableSubnetworksAggregatedList command.params['project'] = project unless project.nil? @@ -31267,7 +31267,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.request_representation = Google::Apis::ComputeAlpha::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -31312,7 +31312,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -31366,7 +31366,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) command.request_representation = Google::Apis::ComputeAlpha::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -31409,7 +31409,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -31459,7 +31459,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_grpc_proxy(project, target_grpc_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -31496,7 +31496,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_grpc_proxy(project, target_grpc_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetGrpcProxies/{targetGrpcProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetGrpcProxy command.params['project'] = project unless project.nil? @@ -31543,7 +31543,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_grpc_proxy(project, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetGrpcProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetGrpcProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation command.request_object = target_grpc_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -31616,7 +31616,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_grpc_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetGrpcProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetGrpcProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetGrpcProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetGrpcProxyList command.params['project'] = project unless project.nil? @@ -31631,6 +31631,59 @@ module Google execute_or_queue_command(command, &block) end + # Patches the specified TargetGrpcProxy resource with the data included in the + # request. This method supports PATCH semantics and uses JSON merge patch format + # and processing rules. + # @param [String] project + # Project ID for this request. + # @param [String] target_grpc_proxy + # Name of the TargetGrpcProxy resource to patch. + # @param [Google::Apis::ComputeAlpha::TargetGrpcProxy] target_grpc_proxy_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_target_grpc_proxy(project, target_grpc_proxy, target_grpc_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:patch, 'projects/{project}/global/targetGrpcProxies/{targetGrpcProxy}', options) + command.request_representation = Google::Apis::ComputeAlpha::TargetGrpcProxy::Representation + command.request_object = target_grpc_proxy_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['targetGrpcProxy'] = target_grpc_proxy unless target_grpc_proxy.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Returns permissions that a caller has on the specified resource. # @param [String] project # Project ID for this request. @@ -31657,7 +31710,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_grpc_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetGrpcProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetGrpcProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -31738,7 +31791,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? @@ -31790,7 +31843,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -31828,7 +31881,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxy command.params['project'] = project unless project.nil? @@ -31875,7 +31928,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -31949,7 +32002,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpProxyList command.params['project'] = project unless project.nil? @@ -32001,7 +32054,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32041,7 +32094,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -32122,7 +32175,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? @@ -32174,7 +32227,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -32212,7 +32265,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxy command.params['project'] = project unless project.nil? @@ -32259,7 +32312,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32333,7 +32386,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetHttpsProxyList command.params['project'] = project unless project.nil? @@ -32348,6 +32401,58 @@ module Google execute_or_queue_command(command, &block) end + # Changes the Certificate Map for TargetHttpsProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_https_proxy + # Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The + # name must be 1-63 characters long, and comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::TargetHttpsProxiesSetCertificateMapRequest] target_https_proxies_set_certificate_map_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_https_proxy_certificate_map(project, target_https_proxy, target_https_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setCertificateMap', options) + command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetCertificateMapRequest::Representation + command.request_object = target_https_proxies_set_certificate_map_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Sets the QUIC override policy for TargetHttpsProxy. # @param [String] project # Project ID for this request. @@ -32386,7 +32491,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32437,7 +32542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeAlpha::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32492,7 +32597,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32543,7 +32648,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32583,7 +32688,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -32663,7 +32768,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_instance_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? @@ -32717,7 +32822,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -32758,7 +32863,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstance command.params['project'] = project unless project.nil? @@ -32808,7 +32913,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances', options) command.request_representation = Google::Apis::ComputeAlpha::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -32885,7 +32990,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances', options) command.response_representation = Google::Apis::ComputeAlpha::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetInstanceList command.params['project'] = project unless project.nil? @@ -32929,7 +33034,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -32982,7 +33087,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_health_check(project, region, target_pool, target_pools_add_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddHealthCheckRequest::Representation command.request_object = target_pools_add_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33036,7 +33141,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_instance(project, region, target_pool, target_pools_add_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsAddInstanceRequest::Representation command.request_object = target_pools_add_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33118,7 +33223,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_pool_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolAggregatedList command.params['project'] = project unless project.nil? @@ -33172,7 +33277,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -33213,7 +33318,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPool command.params['project'] = project unless project.nil? @@ -33254,7 +33359,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) command.request_representation = Google::Apis::ComputeAlpha::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeAlpha::TargetPoolInstanceHealth::Representation @@ -33306,7 +33411,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools', options) command.request_representation = Google::Apis::ComputeAlpha::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33382,7 +33487,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools', options) command.response_representation = Google::Apis::ComputeAlpha::TargetPoolList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetPoolList command.params['project'] = project unless project.nil? @@ -33437,7 +33542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_health_check(project, region, target_pool, target_pools_remove_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveHealthCheckRequest::Representation command.request_object = target_pools_remove_health_check_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33491,7 +33596,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_instance(project, region, target_pool, target_pools_remove_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) command.request_representation = Google::Apis::ComputeAlpha::TargetPoolsRemoveInstanceRequest::Representation command.request_object = target_pools_remove_instance_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33547,7 +33652,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) command.request_representation = Google::Apis::ComputeAlpha::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33591,7 +33696,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -33641,7 +33746,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -33679,7 +33784,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxy command.params['project'] = project unless project.nil? @@ -33726,7 +33831,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33800,7 +33905,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetSslProxyList command.params['project'] = project unless project.nil? @@ -33852,7 +33957,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33866,6 +33971,58 @@ module Google execute_or_queue_command(command, &block) end + # Changes the Certificate Map for TargetSslProxy. + # @param [String] project + # Project ID for this request. + # @param [String] target_ssl_proxy + # Name of the TargetSslProxy resource whose CertificateMap is to be set. The + # name must be 1-63 characters long, and comply with RFC1035. + # @param [Google::Apis::ComputeAlpha::TargetSslProxiesSetCertificateMapRequest] target_ssl_proxies_set_certificate_map_request_object + # @param [String] request_id + # An optional request ID to identify requests. Specify a unique request ID so + # that if you must retry your request, the server will know to ignore the + # request if it has already been completed. + # For example, consider a situation where you make an initial request and the + # request times out. If you make the request again with the same request ID, the + # server can check if original operation with the same request ID was received, + # and if so, will ignore the second request. This prevents clients from + # accidentally creating duplicate commitments. + # The request ID must be a valid UUID with the exception that zero UUID is not + # supported (00000000-0000-0000-0000-000000000000). + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeAlpha::Operation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_target_ssl_proxy_certificate_map(project, target_ssl_proxy, target_ssl_proxies_set_certificate_map_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setCertificateMap', options) + command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetCertificateMapRequest::Representation + command.request_object = target_ssl_proxies_set_certificate_map_request_object + command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation + command.response_class = Google::Apis::ComputeAlpha::Operation + command.params['project'] = project unless project.nil? + command.params['targetSslProxy'] = target_ssl_proxy unless target_ssl_proxy.nil? + command.query['requestId'] = request_id unless request_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Changes the ProxyHeaderType for TargetSslProxy. # @param [String] project # Project ID for this request. @@ -33903,7 +34060,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -33954,7 +34111,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeAlpha::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34009,7 +34166,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34049,7 +34206,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -34098,7 +34255,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -34136,7 +34293,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxy command.params['project'] = project unless project.nil? @@ -34183,7 +34340,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies', options) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34257,7 +34414,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies', options) command.response_representation = Google::Apis::ComputeAlpha::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetTcpProxyList command.params['project'] = project unless project.nil? @@ -34309,7 +34466,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34360,7 +34517,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeAlpha::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34400,7 +34557,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_tcp_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -34480,7 +34637,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? @@ -34534,7 +34691,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -34575,7 +34732,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGateway command.params['project'] = project unless project.nil? @@ -34625,7 +34782,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.request_representation = Google::Apis::ComputeAlpha::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34702,7 +34859,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::TargetVpnGatewayList command.params['project'] = project unless project.nil? @@ -34758,7 +34915,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -34801,7 +34958,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -34883,7 +35040,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapsAggregatedList command.params['project'] = project unless project.nil? @@ -34935,7 +35092,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -34973,7 +35130,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMap command.params['project'] = project unless project.nil? @@ -35020,7 +35177,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35071,7 +35228,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeAlpha::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35145,7 +35302,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps', options) command.response_representation = Google::Apis::ComputeAlpha::UrlMapList::Representation command.response_class = Google::Apis::ComputeAlpha::UrlMapList command.params['project'] = project unless project.nil? @@ -35199,7 +35356,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35239,7 +35396,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -35289,7 +35446,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35330,7 +35487,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_url_map(project, url_map, url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeAlpha::UrlMapsValidateRequest::Representation command.request_object = url_maps_validate_request_object command.response_representation = Google::Apis::ComputeAlpha::UrlMapsValidateResponse::Representation @@ -35410,7 +35567,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? @@ -35464,7 +35621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -35505,7 +35662,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGateway command.params['project'] = project unless project.nil? @@ -35544,7 +35701,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewaysGetStatusResponse command.params['project'] = project unless project.nil? @@ -35594,7 +35751,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways', options) command.request_representation = Google::Apis::ComputeAlpha::VpnGateway::Representation command.request_object = vpn_gateway_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35670,7 +35827,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways', options) command.response_representation = Google::Apis::ComputeAlpha::VpnGatewayList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnGatewayList command.params['project'] = project unless project.nil? @@ -35726,7 +35883,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -35769,7 +35926,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -35850,7 +36007,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_vpn_tunnel_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? @@ -35904,7 +36061,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -35945,7 +36102,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnel command.params['project'] = project unless project.nil? @@ -35995,7 +36152,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels', options) command.request_representation = Google::Apis::ComputeAlpha::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -36072,7 +36229,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels', options) command.response_representation = Google::Apis::ComputeAlpha::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeAlpha::VpnTunnelList command.params['project'] = project unless project.nil? @@ -36128,7 +36285,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -36171,7 +36328,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -36228,7 +36385,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_zone_in_place_snapshot(project, zone, in_place_snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/inPlaceSnapshots/{inPlaceSnapshot}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{inPlaceSnapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -36268,7 +36425,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone_in_place_snapshot(project, zone, in_place_snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/inPlaceSnapshots/{inPlaceSnapshot}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{inPlaceSnapshot}', options) command.response_representation = Google::Apis::ComputeAlpha::InPlaceSnapshot::Representation command.response_class = Google::Apis::ComputeAlpha::InPlaceSnapshot command.params['project'] = project unless project.nil? @@ -36310,7 +36467,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone_in_place_snapshot_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/inPlaceSnapshots/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation command.response_class = Google::Apis::ComputeAlpha::Policy command.params['project'] = project unless project.nil? @@ -36360,7 +36517,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_zone_in_place_snapshot(project, zone, in_place_snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/inPlaceSnapshots', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/inPlaceSnapshots', options) command.request_representation = Google::Apis::ComputeAlpha::InPlaceSnapshot::Representation command.request_object = in_place_snapshot_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -36437,7 +36594,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zone_in_place_snapshots(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/inPlaceSnapshots', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/inPlaceSnapshots', options) command.response_representation = Google::Apis::ComputeAlpha::InPlaceSnapshotList::Representation command.response_class = Google::Apis::ComputeAlpha::InPlaceSnapshotList command.params['project'] = project unless project.nil? @@ -36482,7 +36639,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_zone_in_place_snapshot_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/inPlaceSnapshots/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation @@ -36536,7 +36693,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_zone_in_place_snapshot_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/inPlaceSnapshots/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeAlpha::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation @@ -36579,7 +36736,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_zone_in_place_snapshot_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/inPlaceSnapshots/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/inPlaceSnapshots/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation @@ -36620,7 +36777,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? @@ -36657,7 +36814,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -36731,7 +36888,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations', options) command.response_representation = Google::Apis::ComputeAlpha::OperationList::Representation command.response_class = Google::Apis::ComputeAlpha::OperationList command.params['project'] = project unless project.nil? @@ -36784,7 +36941,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation command.response_class = Google::Apis::ComputeAlpha::Operation command.params['project'] = project unless project.nil? @@ -36822,7 +36979,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}', options) command.response_representation = Google::Apis::ComputeAlpha::Zone::Representation command.response_class = Google::Apis::ComputeAlpha::Zone command.params['project'] = project unless project.nil? @@ -36893,7 +37050,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones', options) + command = make_simple_command(:get, 'projects/{project}/zones', options) command.response_representation = Google::Apis::ComputeAlpha::ZoneList::Representation command.response_class = Google::Apis::ComputeAlpha::ZoneList command.params['project'] = project unless project.nil? diff --git a/generated/google/apis/compute_beta.rb b/generated/google/apis/compute_beta.rb index 3edd537da..6c8380b2d 100644 --- a/generated/google/apis/compute_beta.rb +++ b/generated/google/apis/compute_beta.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeBeta VERSION = 'Beta' - REVISION = '20200331' + REVISION = '20200427' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_beta/classes.rb b/generated/google/apis/compute_beta/classes.rb index 00d870d11..e53693240 100644 --- a/generated/google/apis/compute_beta/classes.rb +++ b/generated/google/apis/compute_beta/classes.rb @@ -2896,7 +2896,7 @@ module Google # and the backends are instance groups. The named port must be defined on each # backend instance group. This parameter has no meaning if the backends are NEGs. # Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP - # Load Blaancing). + # Load Balancing). # Corresponds to the JSON property `portName` # @return [String] attr_accessor :port_name @@ -4493,6 +4493,26 @@ module Google end end + # A set of Confidential Instance options. + class ConfidentialInstanceConfig + include Google::Apis::Core::Hashable + + # Defines whether the instance should have confidential compute enabled. + # Corresponds to the JSON property `enableConfidentialCompute` + # @return [Boolean] + attr_accessor :enable_confidential_compute + alias_method :enable_confidential_compute?, :enable_confidential_compute + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute) + end + end + # Message containing connection draining configuration. class ConnectionDraining include Google::Apis::Core::Hashable @@ -4612,13 +4632,15 @@ module Google # Specifies the regualar expression patterns that match allowed origins. For # regular expression grammar please see en.cppreference.com/w/cpp/regex/ # ecmascript - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOriginRegexes` # @return [Array] attr_accessor :allow_origin_regexes # Specifies the list of origins that will be allowed to do CORS requests. - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOrigins` # @return [Array] attr_accessor :allow_origins @@ -6280,12 +6302,15 @@ module Google end end + # Represents an external VPN gateway. # External VPN gateway is the on-premises VPN gateway(s) or another cloud - # provider's VPN gateway that connects to your Google Cloud VPN gateway. To - # create a highly available VPN from Google Cloud to your on-premises side or - # another Cloud provider's VPN gateway, you must create a external VPN gateway - # resource in GCP, which provides the information to GCP about your external VPN - # gateway. + # provider's VPN gateway that connects to your Google Cloud VPN gateway. + # To create a highly available VPN from Google Cloud Platform to your VPN + # gateway or another cloud provider's VPN gateway, you must create a external + # VPN gateway resource with information about the other gateway. + # For more information about using external VPN gateways, see Creating an HA + # VPN gateway and tunnel pair to a peer VPN. (== resource_for `$api_version`. + # externalVpnGateways ==) class ExternalVpnGateway include Google::Apis::Core::Hashable @@ -6541,7 +6566,7 @@ module Google # @return [String] attr_accessor :content - # + # The file type of source file. # Corresponds to the JSON property `fileType` # @return [String] attr_accessor :file_type @@ -7789,16 +7814,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -8464,9 +8491,8 @@ module Google end end - # A HealthCheckService defines a set of backends on which to perform periodic - # health checks and an endpoint to which to send notification of changes in the - # health status of the backends. + # Represents a Health-Check as a Service resource. + # (== resource_for `$api_version`.regionHealthCheckServices ==) class HealthCheckService include Google::Apis::Core::Hashable @@ -10822,7 +10848,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeBeta::Scheduling] attr_accessor :scheduling @@ -13478,6 +13504,11 @@ module Google attr_accessor :can_ip_forward alias_method :can_ip_forward?, :can_ip_forward + # A set of Confidential Instance options. + # Corresponds to the JSON property `confidentialInstanceConfig` + # @return [Google::Apis::ComputeBeta::ConfidentialInstanceConfig] + attr_accessor :confidential_instance_config + # An optional text description for the instances that are created from this # instance template. # Corresponds to the JSON property `description` @@ -13547,7 +13578,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeBeta::Scheduling] attr_accessor :scheduling @@ -13581,6 +13612,7 @@ module Google # Update properties of this object def update!(**args) @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward) + @confidential_instance_config = args[:confidential_instance_config] if args.key?(:confidential_instance_config) @description = args[:description] if args.key?(:description) @disks = args[:disks] if args.key?(:disks) @display_device = args[:display_device] if args.key?(:display_device) @@ -16272,10 +16304,7 @@ module Google class LogConfigDataAccessOptions include Google::Apis::Core::Hashable - # Whether Gin logging should happen in a fail-closed manner at the caller. This - # is currently supported in the LocalIAM implementation, Stubby C++, and Stubby - # Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626): - # Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding. + # # Corresponds to the JSON property `logMode` # @return [String] attr_accessor :log_mode @@ -16536,6 +16565,12 @@ module Google class MachineType include Google::Apis::Core::Hashable + # [Output Only] A list of accelerator configurations assigned to this machine + # type. + # Corresponds to the JSON property `accelerators` + # @return [Array] + attr_accessor :accelerators + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -16613,6 +16648,7 @@ module Google # Update properties of this object def update!(**args) + @accelerators = args[:accelerators] if args.key?(:accelerators) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @@ -16627,6 +16663,31 @@ module Google @self_link = args[:self_link] if args.key?(:self_link) @zone = args[:zone] if args.key?(:zone) end + + # + class Accelerator + include Google::Apis::Core::Hashable + + # Number of accelerator cards exposed to the guest. + # Corresponds to the JSON property `guestAcceleratorCount` + # @return [Fixnum] + attr_accessor :guest_accelerator_count + + # The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. + # Corresponds to the JSON property `guestAcceleratorType` + # @return [String] + attr_accessor :guest_accelerator_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @guest_accelerator_count = args[:guest_accelerator_count] if args.key?(:guest_accelerator_count) + @guest_accelerator_type = args[:guest_accelerator_type] if args.key?(:guest_accelerator_type) + end + end end # @@ -17501,8 +17562,11 @@ module Google end # Represents a collection of network endpoints. - # For more information read Network endpoint groups overview. (== resource_for `$ - # api_version`.networkEndpointGroups ==) Next ID: 21 + # A network endpoint group (NEG) defines how a set of endpoints should be + # reached, whether they are reachable, and where they are located. For more + # information about using NEGs, see Setting up internet NEGs or Setting up + # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (== + # resource_for `$api_version`.globalNetworkEndpointGroups ==) class NetworkEndpointGroup include Google::Apis::Core::Hashable @@ -17930,8 +17994,15 @@ module Google class NetworkEndpointGroupsListEndpointsRequest include Google::Apis::Core::Hashable + # Optional list of endpoints to query. This is a more efficient but also limited + # version of filter parameter. Endpoints in the filter must have ip_address and + # port fields populated, other fields are not supported. + # Corresponds to the JSON property `endpointFilters` + # @return [Array] + attr_accessor :endpoint_filters + # Optional query parameter for showing the health status of each network - # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, + # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, # the health status of network endpoints will not be provided. # Corresponds to the JSON property `healthStatus` # @return [String] @@ -17943,10 +18014,30 @@ module Google # Update properties of this object def update!(**args) + @endpoint_filters = args[:endpoint_filters] if args.key?(:endpoint_filters) @health_status = args[:health_status] if args.key?(:health_status) end end + # + class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter + include Google::Apis::Core::Hashable + + # The network endpoint. Next ID: 7 + # Corresponds to the JSON property `networkEndpoint` + # @return [Google::Apis::ComputeBeta::NetworkEndpoint] + attr_accessor :network_endpoint + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint) + end + end + # class NetworkEndpointGroupsListNetworkEndpoints include Google::Apis::Core::Hashable @@ -20249,8 +20340,12 @@ module Google end end + # Represents a notification endpoint. # A notification endpoint resource defines an endpoint to receive notifications # when there are status changes detected by the associated health check service. + # For more information, see Health checks overview. (== resource_for `$ + # api_version`.notificationEndpoint ==) (== resource_for `$api_version`. + # regionNotificationEndpoints ==) class NotificationEndpoint include Google::Apis::Core::Hashable @@ -21313,7 +21408,12 @@ module Google end end - # Represents a PacketMirroring resource. + # Represents a Packet Mirroring resource. + # Packet Mirroring clones the traffic of specified instances in your Virtual + # Private Cloud (VPC) network and forwards it to a collector destination, such + # as an instance group of an internal TCP/UDP load balancer, for analysis or + # examination. For more information about setting up Packet Mirroring, see Using + # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==) class PacketMirroring include Google::Apis::Core::Hashable @@ -22117,16 +22217,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -22201,6 +22303,9 @@ module Google # 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -23979,16 +24084,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -27068,7 +27175,7 @@ module Google end end - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 class Scheduling include Google::Apis::Core::Hashable @@ -27891,19 +27998,20 @@ module Google class ShieldedInstanceConfig include Google::Apis::Core::Hashable - # Defines whether the instance has integrity monitoring enabled. + # Defines whether the instance has integrity monitoring enabled. Enabled by + # default. # Corresponds to the JSON property `enableIntegrityMonitoring` # @return [Boolean] attr_accessor :enable_integrity_monitoring alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring - # Defines whether the instance has Secure Boot enabled. + # Defines whether the instance has Secure Boot enabled. Disabled by default. # Corresponds to the JSON property `enableSecureBoot` # @return [Boolean] attr_accessor :enable_secure_boot alias_method :enable_secure_boot?, :enable_secure_boot - # Defines whether the instance has the vTPM enabled. + # Defines whether the instance has the vTPM enabled. Enabled by default. # Corresponds to the JSON property `enableVtpm` # @return [Boolean] attr_accessor :enable_vtpm @@ -28553,7 +28661,7 @@ module Google # @return [Array] attr_accessor :network_interfaces - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeBeta::Scheduling] attr_accessor :scheduling @@ -29535,7 +29643,8 @@ module Google # Whether to enable flow logging for this subnetwork. If this field is not # explicitly set, it will not appear in get listings. If not set the default - # behavior is to disable flow logging. + # behavior is to disable flow logging. This field isn't supported with the + # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `enableFlowLogs` # @return [Boolean] attr_accessor :enable_flow_logs @@ -29637,7 +29746,8 @@ module Google # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to - # PRIVATE_RFC_1918. + # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose + # field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `purpose` # @return [String] attr_accessor :purpose @@ -34287,7 +34397,12 @@ module Google end end - # Represents a VPN gateway resource. Next ID: 13 + # Represents a HA VPN gateway. + # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely + # connect your on-premises network to your Google Cloud Virtual Private Cloud + # network through an IPsec VPN connection in a single region. For more + # information about Cloud HA VPN solutions, see Cloud VPN topologies . (== + # resource_for `$api_version`.vpnGateways ==) class VpnGateway include Google::Apis::Core::Hashable @@ -35910,16 +36025,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** diff --git a/generated/google/apis/compute_beta/representations.rb b/generated/google/apis/compute_beta/representations.rb index 012ff4e90..0101cd4e3 100644 --- a/generated/google/apis/compute_beta/representations.rb +++ b/generated/google/apis/compute_beta/representations.rb @@ -544,6 +544,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConfidentialInstanceConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConnectionDraining class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2082,6 +2088,12 @@ module Google class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end + + class Accelerator + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end include Google::Apis::Core::JsonObjectSupport end @@ -2284,6 +2296,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkEndpointGroupsListNetworkEndpoints class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5910,6 +5928,13 @@ module Google end end + class ConfidentialInstanceConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :enable_confidential_compute, as: 'enableConfidentialCompute' + end + end + class ConnectionDraining # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8056,6 +8081,8 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :can_ip_forward, as: 'canIpForward' + property :confidential_instance_config, as: 'confidentialInstanceConfig', class: Google::Apis::ComputeBeta::ConfidentialInstanceConfig, decorator: Google::Apis::ComputeBeta::ConfidentialInstanceConfig::Representation + property :description, as: 'description' collection :disks, as: 'disks', class: Google::Apis::ComputeBeta::AttachedDisk, decorator: Google::Apis::ComputeBeta::AttachedDisk::Representation @@ -8814,6 +8841,8 @@ module Google class MachineType # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeBeta::MachineType::Accelerator, decorator: Google::Apis::ComputeBeta::MachineType::Accelerator::Representation + property :creation_timestamp, as: 'creationTimestamp' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation @@ -8829,6 +8858,14 @@ module Google property :self_link, as: 'selfLink' property :zone, as: 'zone' end + + class Accelerator + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :guest_accelerator_count, as: 'guestAcceleratorCount' + property :guest_accelerator_type, as: 'guestAcceleratorType' + end + end end class MachineTypeAggregatedList @@ -9172,10 +9209,20 @@ module Google class NetworkEndpointGroupsListEndpointsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :endpoint_filters, as: 'endpointFilters', class: Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter, decorator: Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter::Representation + property :health_status, as: 'healthStatus' end end + class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeBeta::NetworkEndpoint, decorator: Google::Apis::ComputeBeta::NetworkEndpoint::Representation + + end + end + class NetworkEndpointGroupsListNetworkEndpoints # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_beta/service.rb b/generated/google/apis/compute_beta/service.rb index 4ba5b0d33..39ffacc87 100644 --- a/generated/google/apis/compute_beta/service.rb +++ b/generated/google/apis/compute_beta/service.rb @@ -47,7 +47,7 @@ module Google attr_accessor :user_ip def initialize - super('https://compute.googleapis.com/', 'compute/beta/projects/') + super('https://compute.googleapis.com/', 'compute/beta/') @batch_path = 'batch/compute/beta' end @@ -115,7 +115,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_accelerator_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeAggregatedList command.params['project'] = project unless project.nil? @@ -157,7 +157,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_accelerator_type(project, zone, accelerator_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorType::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorType command.params['project'] = project unless project.nil? @@ -228,7 +228,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_accelerator_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/acceleratorTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/acceleratorTypes', options) command.response_representation = Google::Apis::ComputeBeta::AcceleratorTypeList::Representation command.response_class = Google::Apis::ComputeBeta::AcceleratorTypeList command.params['project'] = project unless project.nil? @@ -307,7 +307,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_addresses(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/addresses', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AddressAggregatedList command.params['project'] = project unless project.nil? @@ -360,7 +360,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_address(project, region, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -400,7 +400,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_address(project, region, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::Address command.params['project'] = project unless project.nil? @@ -450,7 +450,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_address(project, region, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses', options) command.request_representation = Google::Apis::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -523,7 +523,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_addresses(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/addresses', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::AddressList command.params['project'] = project unless project.nil? @@ -578,7 +578,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_address_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -621,7 +621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_address_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -699,7 +699,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_autoscalers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::AutoscalerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::AutoscalerAggregatedList command.params['project'] = project unless project.nil? @@ -752,7 +752,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_autoscaler(project, zone, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -793,7 +793,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_autoscaler(project, zone, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::Autoscaler command.params['project'] = project unless project.nil? @@ -843,7 +843,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_autoscaler(project, zone, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -916,7 +916,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_autoscalers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::AutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::AutoscalerList command.params['project'] = project unless project.nil? @@ -972,7 +972,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1015,7 +1015,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_autoscaler_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -1069,7 +1069,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_autoscaler(project, zone, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1122,7 +1122,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_bucket_signed_url_key(project, backend_bucket, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1172,7 +1172,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket(project, backend_bucket, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1223,7 +1223,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_bucket_signed_url_key(project, backend_bucket, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets/{backendBucket}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1262,7 +1262,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_bucket(project, backend_bucket, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.response_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.response_class = Google::Apis::ComputeBeta::BackendBucket command.params['project'] = project unless project.nil? @@ -1309,7 +1309,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_bucket(project, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendBuckets', options) + command = make_simple_command(:post, 'projects/{project}/global/backendBuckets', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1380,7 +1380,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_buckets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendBuckets', options) + command = make_simple_command(:get, 'projects/{project}/global/backendBuckets', options) command.response_representation = Google::Apis::ComputeBeta::BackendBucketList::Representation command.response_class = Google::Apis::ComputeBeta::BackendBucketList command.params['project'] = project unless project.nil? @@ -1433,7 +1433,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1485,7 +1485,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_bucket(project, backend_bucket, backend_bucket_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendBuckets/{backendBucket}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendBuckets/{backendBucket}', options) command.request_representation = Google::Apis::ComputeBeta::BackendBucket::Representation command.request_object = backend_bucket_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1537,7 +1537,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_backend_service_signed_url_key(project, backend_service, signed_url_key_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/addSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/addSignedUrlKey', options) command.request_representation = Google::Apis::ComputeBeta::SignedUrlKey::Representation command.request_object = signed_url_key_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1616,7 +1616,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_backend_service_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceAggregatedList command.params['project'] = project unless project.nil? @@ -1667,7 +1667,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service(project, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1719,7 +1719,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_backend_service_signed_url_key(project, backend_service, key_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/deleteSignedUrlKey', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -1758,7 +1758,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service(project, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::BackendService command.params['project'] = project unless project.nil? @@ -1796,7 +1796,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_backend_service_health(project, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation @@ -1847,7 +1847,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_backend_service(project, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -1918,7 +1918,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_backend_services(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/global/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceList command.params['project'] = project unless project.nil? @@ -1973,7 +1973,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2025,7 +2025,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_backend_service_security_policy(project, backend_service, security_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{backendService}/setSecurityPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{backendService}/setSecurityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyReference::Representation command.request_object = security_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2065,7 +2065,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_backend_service_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -2118,7 +2118,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_backend_service(project, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/global/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2196,7 +2196,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_disk_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::DiskTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskTypeAggregatedList command.params['project'] = project unless project.nil? @@ -2239,7 +2239,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_type(project, zone, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::DiskType command.params['project'] = project unless project.nil? @@ -2310,7 +2310,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disk_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::DiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::DiskTypeList command.params['project'] = project unless project.nil? @@ -2365,7 +2365,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_disk_resource_policies(project, zone, disk, disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::DisksAddResourcePoliciesRequest::Representation command.request_object = disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2444,7 +2444,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_disk(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/disks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::DiskAggregatedList command.params['project'] = project unless project.nil? @@ -2502,7 +2502,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_disk_snapshot(project, zone, disk, snapshot_object = nil, guest_flush: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2558,7 +2558,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_disk(project, zone, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -2599,7 +2599,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk(project, zone, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::Disk command.params['project'] = project unless project.nil? @@ -2641,7 +2641,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_disk_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -2696,7 +2696,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_disk(project, zone, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks', options) command.request_representation = Google::Apis::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2770,7 +2770,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_disks(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/disks', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::DiskList command.params['project'] = project unless project.nil? @@ -2824,7 +2824,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_disk_resource_policies(project, zone, disk, disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::DisksRemoveResourcePoliciesRequest::Representation command.request_object = disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2879,7 +2879,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_disk(project, zone, disk, disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeBeta::DisksResizeRequest::Representation command.request_object = disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -2923,7 +2923,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -2977,7 +2977,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_labels(project, zone, resource, zone_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetLabelsRequest::Representation command.request_object = zone_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3020,7 +3020,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_disk_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -3070,7 +3070,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_external_vpn_gateway(project, external_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3108,7 +3108,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_external_vpn_gateway(project, external_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways/{externalVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways/{externalVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::ExternalVpnGateway command.params['project'] = project unless project.nil? @@ -3155,7 +3155,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_external_vpn_gateway(project, external_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::ExternalVpnGateway::Representation command.request_object = external_vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3225,7 +3225,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_external_vpn_gateways(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/externalVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/global/externalVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::ExternalVpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::ExternalVpnGatewayList command.params['project'] = project unless project.nil? @@ -3266,7 +3266,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_external_vpn_gateway_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3305,7 +3305,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_external_vpn_gateway_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/externalVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -3354,7 +3354,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_firewall(project, firewall, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:delete, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3391,7 +3391,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_firewall(project, firewall, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls/{firewall}', options) command.response_representation = Google::Apis::ComputeBeta::Firewall::Representation command.response_class = Google::Apis::ComputeBeta::Firewall command.params['project'] = project unless project.nil? @@ -3438,7 +3438,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_firewall(project, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3508,7 +3508,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_firewalls(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/firewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/firewalls', options) command.response_representation = Google::Apis::ComputeBeta::FirewallList::Representation command.response_class = Google::Apis::ComputeBeta::FirewallList command.params['project'] = project unless project.nil? @@ -3561,7 +3561,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:patch, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3601,7 +3601,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_firewall_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/firewalls/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/firewalls/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -3653,7 +3653,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_firewall(project, firewall, firewall_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/firewalls/{firewall}', options) + command = make_simple_command(:put, 'projects/{project}/global/firewalls/{firewall}', options) command.request_representation = Google::Apis::ComputeBeta::Firewall::Representation command.request_object = firewall_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3731,7 +3731,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_forwarding_rules(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleAggregatedList command.params['project'] = project unless project.nil? @@ -3784,7 +3784,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_forwarding_rule(project, region, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -3824,7 +3824,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_forwarding_rule(project, region, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRule command.params['project'] = project unless project.nil? @@ -3874,7 +3874,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_forwarding_rule(project, region, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -3948,7 +3948,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_forwarding_rules(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList command.params['project'] = project unless project.nil? @@ -4004,7 +4004,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_forwarding_rule(project, region, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4059,7 +4059,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4114,7 +4114,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_forwarding_rule_target(project, region, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4157,7 +4157,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_forwarding_rule_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -4207,7 +4207,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_address(project, address, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/addresses/{address}', options) + command = make_simple_command(:delete, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4245,7 +4245,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_address(project, address, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses/{address}', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses/{address}', options) command.response_representation = Google::Apis::ComputeBeta::Address::Representation command.response_class = Google::Apis::ComputeBeta::Address command.params['project'] = project unless project.nil? @@ -4292,7 +4292,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_address(project, address_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses', options) command.request_representation = Google::Apis::ComputeBeta::Address::Representation command.request_object = address_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4362,7 +4362,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_addresses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/addresses', options) + command = make_simple_command(:get, 'projects/{project}/global/addresses', options) command.response_representation = Google::Apis::ComputeBeta::AddressList::Representation command.response_class = Google::Apis::ComputeBeta::AddressList command.params['project'] = project unless project.nil? @@ -4403,7 +4403,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_address_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4442,7 +4442,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_address_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/addresses/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/addresses/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -4491,7 +4491,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_forwarding_rule(project, forwarding_rule, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:delete, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4529,7 +4529,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_forwarding_rule(project, forwarding_rule, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRule command.params['project'] = project unless project.nil? @@ -4576,7 +4576,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_forwarding_rule(project, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4647,7 +4647,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_forwarding_rules(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/forwardingRules', options) + command = make_simple_command(:get, 'projects/{project}/global/forwardingRules', options) command.response_representation = Google::Apis::ComputeBeta::ForwardingRuleList::Representation command.response_class = Google::Apis::ComputeBeta::ForwardingRuleList command.params['project'] = project unless project.nil? @@ -4700,7 +4700,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_global_forwarding_rule(project, forwarding_rule, forwarding_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/forwardingRules/{forwardingRule}', options) + command = make_simple_command(:patch, 'projects/{project}/global/forwardingRules/{forwardingRule}', options) command.request_representation = Google::Apis::ComputeBeta::ForwardingRule::Representation command.request_object = forwarding_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4741,7 +4741,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4792,7 +4792,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_global_forwarding_rule_target(project, forwarding_rule, target_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{forwardingRule}/setTarget', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{forwardingRule}/setTarget', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4832,7 +4832,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_global_forwarding_rule_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/forwardingRules/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/forwardingRules/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -4883,7 +4883,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -4935,7 +4935,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -4985,7 +4985,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = global_network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -5025,7 +5025,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup command.params['project'] = project unless project.nil? @@ -5072,7 +5072,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -5143,7 +5143,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/global/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList command.params['project'] = project unless project.nil? @@ -5217,7 +5217,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints command.params['project'] = project unless project.nil? @@ -5296,7 +5296,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_global_operation(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/operations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::OperationAggregatedList command.params['project'] = project unless project.nil? @@ -5336,7 +5336,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/global/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['operation'] = operation unless operation.nil? command.query['fields'] = fields unless fields.nil? @@ -5371,7 +5371,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/global/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5439,7 +5439,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_global_operations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/operations', options) + command = make_simple_command(:get, 'projects/{project}/global/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? @@ -5488,7 +5488,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_global_operation(project, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/global/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5707,7 +5707,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_health_check_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthChecksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::HealthChecksAggregatedList command.params['project'] = project unless project.nil? @@ -5758,7 +5758,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_health_check(project, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -5796,7 +5796,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_health_check(project, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheck command.params['project'] = project unless project.nil? @@ -5843,7 +5843,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_health_check(project, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -5913,7 +5913,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckList command.params['project'] = project unless project.nil? @@ -5966,7 +5966,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6006,7 +6006,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/healthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/healthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -6057,7 +6057,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_health_check(project, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6107,7 +6107,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_http_health_check(project, http_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6145,7 +6145,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_http_health_check(project, http_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HttpHealthCheck command.params['project'] = project unless project.nil? @@ -6192,7 +6192,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_http_health_check(project, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6263,7 +6263,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_http_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpHealthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HttpHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HttpHealthCheckList command.params['project'] = project unless project.nil? @@ -6316,7 +6316,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6356,7 +6356,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_http_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -6407,7 +6407,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_http_health_check(project, http_health_check, http_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpHealthChecks/{httpHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpHealthChecks/{httpHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpHealthCheck::Representation command.request_object = http_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6457,7 +6457,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_https_health_check(project, https_health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6495,7 +6495,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_https_health_check(project, https_health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HttpsHealthCheck command.params['project'] = project unless project.nil? @@ -6542,7 +6542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_https_health_check(project, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6613,7 +6613,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_https_health_checks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/httpsHealthChecks', options) + command = make_simple_command(:get, 'projects/{project}/global/httpsHealthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HttpsHealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HttpsHealthCheckList command.params['project'] = project unless project.nil? @@ -6666,7 +6666,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6706,7 +6706,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_https_health_check_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/httpsHealthChecks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -6757,7 +6757,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_https_health_check(project, https_health_check, https_health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HttpsHealthCheck::Representation command.request_object = https_health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6807,7 +6807,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_image(project, image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/images/{image}', options) + command = make_simple_command(:delete, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -6857,7 +6857,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def deprecate_image(project, image, deprecation_status_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{image}/deprecate', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{image}/deprecate', options) command.request_representation = Google::Apis::ComputeBeta::DeprecationStatus::Representation command.request_object = deprecation_status_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -6897,7 +6897,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image(project, image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{image}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{image}', options) command.response_representation = Google::Apis::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::Image command.params['project'] = project unless project.nil? @@ -6933,7 +6933,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_from_family(project, family, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/family/{family}', options) + command = make_simple_command(:get, 'projects/{project}/global/images/family/{family}', options) command.response_representation = Google::Apis::ComputeBeta::Image::Representation command.response_class = Google::Apis::ComputeBeta::Image command.params['project'] = project unless project.nil? @@ -6972,7 +6972,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/images/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -7022,7 +7022,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_image(project, image_object = nil, force_create: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images', options) + command = make_simple_command(:post, 'projects/{project}/global/images', options) command.request_representation = Google::Apis::ComputeBeta::Image::Representation command.request_object = image_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7098,7 +7098,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/images', options) + command = make_simple_command(:get, 'projects/{project}/global/images', options) command.response_representation = Google::Apis::ComputeBeta::ImageList::Representation command.response_class = Google::Apis::ComputeBeta::ImageList command.params['project'] = project unless project.nil? @@ -7139,7 +7139,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -7179,7 +7179,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_image_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7218,7 +7218,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/images/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/images/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -7281,7 +7281,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7360,7 +7360,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instance_group_managers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerAggregatedList command.params['project'] = project unless project.nil? @@ -7405,7 +7405,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_instance_group_manager_updates_to_instances(project, zone, instance_group_manager, instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7463,7 +7463,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersCreateInstancesRequest::Representation command.request_object = instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7518,7 +7518,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager(project, zone, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -7580,7 +7580,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7624,7 +7624,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_delete_per_instance_configs_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersDeletePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_delete_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7666,7 +7666,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group_manager(project, zone, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager command.params['project'] = project unless project.nil? @@ -7722,7 +7722,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group_manager(project, zone, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -7796,7 +7796,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_managers(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagerList command.params['project'] = project unless project.nil? @@ -7876,7 +7876,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_errors(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? @@ -7957,7 +7957,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListManagedInstancesResponse command.params['project'] = project unless project.nil? @@ -8035,7 +8035,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManagersListPerInstanceConfigsResp command.params['project'] = project unless project.nil? @@ -8095,7 +8095,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8152,7 +8152,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_patch_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersPatchPerInstanceConfigsReq::Representation command.request_object = instance_group_managers_patch_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8215,7 +8215,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_instance_group_manager_instances(project, zone, instance_group_manager, instance_group_managers_recreate_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersRecreateInstancesRequest::Representation command.request_object = instance_group_managers_recreate_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8287,7 +8287,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager(project, zone, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8351,7 +8351,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_instance_group_manager_advanced(project, zone, instance_group_manager, instance_group_managers_resize_advanced_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersResizeAdvancedRequest::Representation command.request_object = instance_group_managers_resize_advanced_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8406,7 +8406,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_auto_healing_policies(project, zone, instance_group_manager, instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8462,7 +8462,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_instance_template(project, zone, instance_group_manager, instance_group_managers_set_instance_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetInstanceTemplateRequest::Representation command.request_object = instance_group_managers_set_instance_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8521,7 +8521,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_manager_target_pools(project, zone, instance_group_manager, instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8564,7 +8564,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_manager_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -8621,7 +8621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager(project, zone, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8678,7 +8678,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_group_manager_per_instance_configs(project, zone, instance_group_manager, instance_group_managers_update_per_instance_configs_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManagersUpdatePerInstanceConfigsReq::Representation command.request_object = instance_group_managers_update_per_instance_configs_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8734,7 +8734,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_group_instances(project, zone, instance_group, instance_groups_add_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/addInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsAddInstancesRequest::Representation command.request_object = instance_groups_add_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -8813,7 +8813,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instance_groups(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupAggregatedList command.params['project'] = project unless project.nil? @@ -8868,7 +8868,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_group(project, zone, instance_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -8909,7 +8909,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_group(project, zone, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroup command.params['project'] = project unless project.nil? @@ -8959,7 +8959,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_group(project, zone, instance_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.request_object = instance_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9033,7 +9033,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupList command.params['project'] = project unless project.nil? @@ -9111,7 +9111,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_group_instances(project, zone, instance_group, instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstancesRequest::Representation command.request_object = instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::InstanceGroupsListInstances::Representation @@ -9172,7 +9172,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_group_instances(project, zone, instance_group, instance_groups_remove_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/removeInstances', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsRemoveInstancesRequest::Representation command.request_object = instance_groups_remove_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9226,7 +9226,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_group_named_ports(project, zone, instance_group, instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupsSetNamedPortsRequest::Representation command.request_object = instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9269,7 +9269,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -9321,7 +9321,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_template(project, instance_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9359,7 +9359,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template(project, instance_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{instanceTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{instanceTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation command.response_class = Google::Apis::ComputeBeta::InstanceTemplate command.params['project'] = project unless project.nil? @@ -9398,7 +9398,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_template_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -9448,7 +9448,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance_template(project, instance_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates', options) command.request_representation = Google::Apis::ComputeBeta::InstanceTemplate::Representation command.request_object = instance_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9519,7 +9519,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_templates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/instanceTemplates', options) + command = make_simple_command(:get, 'projects/{project}/global/instanceTemplates', options) command.response_representation = Google::Apis::ComputeBeta::InstanceTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceTemplateList command.params['project'] = project unless project.nil? @@ -9560,7 +9560,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_template_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -9599,7 +9599,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_template_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/instanceTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/instanceTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -9653,7 +9653,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addAccessConfig', options) command.request_representation = Google::Apis::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9710,7 +9710,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_instance_resource_policies(project, zone, instance, instances_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstancesAddResourcePoliciesRequest::Representation command.request_object = instances_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9790,7 +9790,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_instances(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/instances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/instances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceAggregatedList command.params['project'] = project unless project.nil? @@ -9850,7 +9850,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_disk(project, zone, instance, attached_disk_object = nil, force_attach: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/attachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/attachDisk', options) command.request_representation = Google::Apis::ComputeBeta::AttachedDisk::Representation command.request_object = attached_disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -9905,7 +9905,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -9960,7 +9960,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_instance_access_config(project, zone, instance, access_config, network_interface, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/deleteAccessConfig', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10016,7 +10016,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_disk(project, zone, instance, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/detachDisk', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/detachDisk', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10058,7 +10058,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.response_representation = Google::Apis::ComputeBeta::Instance::Representation command.response_class = Google::Apis::ComputeBeta::Instance command.params['project'] = project unless project.nil? @@ -10099,7 +10099,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InstancesGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? @@ -10143,7 +10143,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_guest_attributes(project, zone, instance, query_path: nil, variable_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getGuestAttributes', options) command.response_representation = Google::Apis::ComputeBeta::GuestAttributes::Representation command.response_class = Google::Apis::ComputeBeta::GuestAttributes command.params['project'] = project unless project.nil? @@ -10187,7 +10187,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -10227,7 +10227,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_screenshot(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/screenshot', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/screenshot', options) command.response_representation = Google::Apis::ComputeBeta::Screenshot::Representation command.response_class = Google::Apis::ComputeBeta::Screenshot command.params['project'] = project unless project.nil? @@ -10273,7 +10273,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_serial_port_output(project, zone, instance, port: nil, start: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/serialPort', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/serialPort', options) command.response_representation = Google::Apis::ComputeBeta::SerialPortOutput::Representation command.response_class = Google::Apis::ComputeBeta::SerialPortOutput command.params['project'] = project unless project.nil? @@ -10314,7 +10314,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_instance_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedInstanceIdentity', options) command.response_representation = Google::Apis::ComputeBeta::ShieldedInstanceIdentity::Representation command.response_class = Google::Apis::ComputeBeta::ShieldedInstanceIdentity command.params['project'] = project unless project.nil? @@ -10353,7 +10353,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_instance_shielded_vm_identity(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/getShieldedVmIdentity', options) command.response_representation = Google::Apis::ComputeBeta::ShieldedVmIdentity::Representation command.response_class = Google::Apis::ComputeBeta::ShieldedVmIdentity command.params['project'] = project unless project.nil? @@ -10419,7 +10419,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_instance(project, zone, instance_object = nil, request_id: nil, source_instance_template: nil, source_machine_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances', options) command.request_representation = Google::Apis::ComputeBeta::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -10494,7 +10494,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances', options) command.response_representation = Google::Apis::ComputeBeta::InstanceList::Representation command.response_class = Google::Apis::ComputeBeta::InstanceList command.params['project'] = project unless project.nil? @@ -10572,7 +10572,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_instance_referrers(project, zone, instance, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/referrers', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/instances/{instance}/referrers', options) command.response_representation = Google::Apis::ComputeBeta::InstanceListReferrers::Representation command.response_class = Google::Apis::ComputeBeta::InstanceListReferrers command.params['project'] = project unless project.nil? @@ -10627,7 +10627,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_instance_resource_policies(project, zone, instance, instances_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::InstancesRemoveResourcePoliciesRequest::Representation command.request_object = instances_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -10681,7 +10681,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def reset_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/reset', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/reset', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10733,7 +10733,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resume_instance(project, zone, instance, instances_resume_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/resume', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/resume', options) command.request_representation = Google::Apis::ComputeBeta::InstancesResumeRequest::Representation command.request_object = instances_resume_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -10788,7 +10788,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_deletion_protection(project, zone, resource, deletion_protection: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setDeletionProtection', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10845,7 +10845,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_disk_auto_delete(project, zone, instance, auto_delete, device_name, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -10889,7 +10889,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -10943,7 +10943,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_labels(project, zone, instance, instances_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetLabelsRequest::Representation command.request_object = instances_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -10998,7 +10998,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_resources(project, zone, instance, instances_set_machine_resources_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineResources', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineResources', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMachineResourcesRequest::Representation command.request_object = instances_set_machine_resources_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11053,7 +11053,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_machine_type(project, zone, instance, instances_set_machine_type_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMachineType', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMachineType', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMachineTypeRequest::Representation command.request_object = instances_set_machine_type_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11107,7 +11107,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_metadata(project, zone, instance, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMetadata', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMetadata', options) command.request_representation = Google::Apis::ComputeBeta::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11163,7 +11163,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_min_cpu_platform(project, zone, instance, instances_set_min_cpu_platform_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setMinCpuPlatform', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetMinCpuPlatformRequest::Representation command.request_object = instances_set_min_cpu_platform_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11217,7 +11217,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_scheduling(project, zone, instance, scheduling_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setScheduling', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setScheduling', options) command.request_representation = Google::Apis::ComputeBeta::Scheduling::Representation command.request_object = scheduling_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11272,7 +11272,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_service_account(project, zone, instance, instances_set_service_account_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setServiceAccount', options) command.request_representation = Google::Apis::ComputeBeta::InstancesSetServiceAccountRequest::Representation command.request_object = instances_set_service_account_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11328,7 +11328,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_instance_integrity_policy(project, zone, instance, shielded_instance_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedInstanceIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy::Representation command.request_object = shielded_instance_integrity_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11384,7 +11384,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_shielded_vm_integrity_policy(project, zone, instance, shielded_vm_integrity_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/setShieldedVmIntegrityPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation command.request_object = shielded_vm_integrity_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11439,7 +11439,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_instance_tags(project, zone, instance, tags_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/setTags', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/setTags', options) command.request_representation = Google::Apis::ComputeBeta::Tags::Representation command.request_object = tags_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11481,7 +11481,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def simulate_instance_maintenance_event(project, zone, instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/simulateMaintenanceEvent', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11532,7 +11532,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/start', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/start', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11585,7 +11585,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def start_instance_with_encryption_key(project, zone, instance, instances_start_with_encryption_key_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/startWithEncryptionKey', options) command.request_representation = Google::Apis::ComputeBeta::InstancesStartWithEncryptionKeyRequest::Representation command.request_object = instances_start_with_encryption_key_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11642,7 +11642,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def stop_instance(project, zone, instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/stop', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/stop', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11701,7 +11701,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def suspend_instance(project, zone, instance, discard_local_ssd: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/suspend', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/suspend', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -11743,7 +11743,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -11807,7 +11807,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance(project, zone, instance, instance_object = nil, minimal_action: nil, most_disruptive_allowed_action: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/zones/{zone}/instances/{instance}', options) + command = make_simple_command(:put, 'projects/{project}/zones/{zone}/instances/{instance}', options) command.request_representation = Google::Apis::ComputeBeta::Instance::Representation command.request_object = instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11867,7 +11867,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_access_config(project, zone, instance, network_interface, access_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/instances/{instance}/updateAccessConfig', options) command.request_representation = Google::Apis::ComputeBeta::AccessConfig::Representation command.request_object = access_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11924,7 +11924,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_display_device(project, zone, instance, display_device_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateDisplayDevice', options) command.request_representation = Google::Apis::ComputeBeta::DisplayDevice::Representation command.request_object = display_device_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -11980,7 +11980,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_network_interface(project, zone, instance, network_interface, network_interface_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateNetworkInterface', options) command.request_representation = Google::Apis::ComputeBeta::NetworkInterface::Representation command.request_object = network_interface_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12037,7 +12037,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_instance_config(project, zone, instance, shielded_instance_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedInstanceConfig', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedInstanceConfig::Representation command.request_object = shielded_instance_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12093,7 +12093,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_instance_shielded_vm_config(project, zone, instance, shielded_vm_config_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/instances/{instance}/updateShieldedVmConfig', options) command.request_representation = Google::Apis::ComputeBeta::ShieldedVmConfig::Representation command.request_object = shielded_vm_config_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12172,7 +12172,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_interconnect_attachment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentAggregatedList command.params['project'] = project unless project.nil? @@ -12225,7 +12225,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect_attachment(project, region, interconnect_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12265,7 +12265,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_attachment(project, region, interconnect_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachment command.params['project'] = project unless project.nil? @@ -12317,7 +12317,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect_attachment(project, region, interconnect_attachment_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12392,7 +12392,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/interconnectAttachments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/interconnectAttachments', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectAttachmentList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectAttachmentList command.params['project'] = project unless project.nil? @@ -12448,7 +12448,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options) command.request_representation = Google::Apis::ComputeBeta::InterconnectAttachment::Representation command.request_object = interconnect_attachment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12503,7 +12503,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_attachment_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12546,7 +12546,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/interconnectAttachments/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -12586,7 +12586,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_location(project, interconnect_location, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations/{interconnectLocation}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations/{interconnectLocation}', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectLocation::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectLocation command.params['project'] = project unless project.nil? @@ -12655,7 +12655,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnect_locations(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnectLocations', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnectLocations', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectLocationList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectLocationList command.params['project'] = project unless project.nil? @@ -12705,7 +12705,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_interconnect(project, interconnect, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:delete, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -12743,7 +12743,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}', options) command.response_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.response_class = Google::Apis::ComputeBeta::Interconnect command.params['project'] = project unless project.nil? @@ -12779,7 +12779,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_interconnect_diagnostics(project, interconnect, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects/{interconnect}/getDiagnostics', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects/{interconnect}/getDiagnostics', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectsGetDiagnosticsResponse command.params['project'] = project unless project.nil? @@ -12826,7 +12826,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_interconnect(project, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects', options) command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12896,7 +12896,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_interconnects(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/interconnects', options) + command = make_simple_command(:get, 'projects/{project}/global/interconnects', options) command.response_representation = Google::Apis::ComputeBeta::InterconnectList::Representation command.response_class = Google::Apis::ComputeBeta::InterconnectList command.params['project'] = project unless project.nil? @@ -12949,7 +12949,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_interconnect(project, interconnect, interconnect_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/interconnects/{interconnect}', options) + command = make_simple_command(:patch, 'projects/{project}/global/interconnects/{interconnect}', options) command.request_representation = Google::Apis::ComputeBeta::Interconnect::Representation command.request_object = interconnect_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -12990,7 +12990,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_interconnect_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -13029,7 +13029,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_interconnect_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/interconnects/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/interconnects/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -13070,7 +13070,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_code(project, license_code, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenseCodes/{licenseCode}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenseCodes/{licenseCode}', options) command.response_representation = Google::Apis::ComputeBeta::LicenseCode::Representation command.response_class = Google::Apis::ComputeBeta::LicenseCode command.params['project'] = project unless project.nil? @@ -13118,7 +13118,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_license(project, license, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/licenses/{license}', options) + command = make_simple_command(:delete, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -13156,7 +13156,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license(project, license, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{license}', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{license}', options) command.response_representation = Google::Apis::ComputeBeta::License::Representation command.response_class = Google::Apis::ComputeBeta::License command.params['project'] = project unless project.nil? @@ -13196,7 +13196,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_license_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -13245,7 +13245,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_license(project, license_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses', options) command.request_representation = Google::Apis::ComputeBeta::License::Representation command.request_object = license_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -13321,7 +13321,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_licenses(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/licenses', options) + command = make_simple_command(:get, 'projects/{project}/global/licenses', options) command.response_representation = Google::Apis::ComputeBeta::LicensesListResponse::Representation command.response_class = Google::Apis::ComputeBeta::LicensesListResponse command.params['project'] = project unless project.nil? @@ -13363,7 +13363,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_license_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/licenses/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/licenses/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -13413,7 +13413,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_machine_image(project, machine_image, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:delete, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -13451,7 +13451,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image(project, machine_image, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{machineImage}', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{machineImage}', options) command.response_representation = Google::Apis::ComputeBeta::MachineImage::Representation command.response_class = Google::Apis::ComputeBeta::MachineImage command.params['project'] = project unless project.nil? @@ -13490,7 +13490,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_image_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -13542,7 +13542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_machine_image(project, machine_image_object = nil, request_id: nil, source_instance: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages', options) command.request_representation = Google::Apis::ComputeBeta::MachineImage::Representation command.request_object = machine_image_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -13614,7 +13614,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_images(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/machineImages', options) + command = make_simple_command(:get, 'projects/{project}/global/machineImages', options) command.response_representation = Google::Apis::ComputeBeta::MachineImageList::Representation command.response_class = Google::Apis::ComputeBeta::MachineImageList command.params['project'] = project unless project.nil? @@ -13655,7 +13655,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_machine_image_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -13694,7 +13694,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_machine_image_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/machineImages/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/machineImages/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -13771,7 +13771,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_machine_types(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/machineTypes', options) command.response_representation = Google::Apis::ComputeBeta::MachineTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::MachineTypeAggregatedList command.params['project'] = project unless project.nil? @@ -13814,7 +13814,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_machine_type(project, zone, machine_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes/{machineType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes/{machineType}', options) command.response_representation = Google::Apis::ComputeBeta::MachineType::Representation command.response_class = Google::Apis::ComputeBeta::MachineType command.params['project'] = project unless project.nil? @@ -13885,7 +13885,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_machine_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/machineTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/machineTypes', options) command.response_representation = Google::Apis::ComputeBeta::MachineTypeList::Representation command.response_class = Google::Apis::ComputeBeta::MachineTypeList command.params['project'] = project unless project.nil? @@ -13964,7 +13964,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_network_endpoint_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupAggregatedList command.params['project'] = project unless project.nil? @@ -14020,7 +14020,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def attach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsAttachEndpointsRequest::Representation command.request_object = network_endpoint_groups_attach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14078,7 +14078,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network_endpoint_group(project, zone, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14132,7 +14132,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def detach_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsDetachEndpointsRequest::Representation command.request_object = network_endpoint_groups_detach_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14176,7 +14176,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_endpoint_group(project, zone, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroup command.params['project'] = project unless project.nil? @@ -14227,7 +14227,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network_endpoint_group(project, zone, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroup::Representation command.request_object = network_endpoint_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14302,7 +14302,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/networkEndpointGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/networkEndpointGroups', options) command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkEndpointGroupList command.params['project'] = project unless project.nil? @@ -14381,7 +14381,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_endpoint_group_network_endpoints(project, zone, network_endpoint_group, network_endpoint_groups_list_endpoints_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListEndpointsRequest::Representation command.request_object = network_endpoint_groups_list_endpoints_request_object command.response_representation = Google::Apis::ComputeBeta::NetworkEndpointGroupsListNetworkEndpoints::Representation @@ -14427,7 +14427,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_endpoint_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -14478,7 +14478,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/addPeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksAddPeeringRequest::Representation command.request_object = networks_add_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14528,7 +14528,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/networks/{network}', options) + command = make_simple_command(:delete, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14566,7 +14566,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}', options) command.response_representation = Google::Apis::ComputeBeta::Network::Representation command.response_class = Google::Apis::ComputeBeta::Network command.params['project'] = project unless project.nil? @@ -14602,7 +14602,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/getEffectiveFirewalls', options) command.response_representation = Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponse::Representation command.response_class = Google::Apis::ComputeBeta::NetworksGetEffectiveFirewallsResponse command.params['project'] = project unless project.nil? @@ -14649,7 +14649,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks', options) + command = make_simple_command(:post, 'projects/{project}/global/networks', options) command.request_representation = Google::Apis::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14719,7 +14719,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks', options) + command = make_simple_command(:get, 'projects/{project}/global/networks', options) command.response_representation = Google::Apis::ComputeBeta::NetworkList::Representation command.response_class = Google::Apis::ComputeBeta::NetworkList command.params['project'] = project unless project.nil? @@ -14799,7 +14799,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_network_peering_routes(project, network, direction: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, peering_name: nil, region: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/networks/{network}/listPeeringRoutes', options) + command = make_simple_command(:get, 'projects/{project}/global/networks/{network}/listPeeringRoutes', options) command.response_representation = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList::Representation command.response_class = Google::Apis::ComputeBeta::ExchangedPeeringRoutesList command.params['project'] = project unless project.nil? @@ -14855,7 +14855,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_network(project, network, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}', options) command.request_representation = Google::Apis::ComputeBeta::Network::Representation command.request_object = network_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14906,7 +14906,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_network_peering(project, network, networks_remove_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/removePeering', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/removePeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksRemovePeeringRequest::Representation command.request_object = networks_remove_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -14956,7 +14956,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def switch_network_to_custom_mode(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{network}/switchToCustomMode', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{network}/switchToCustomMode', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -14994,7 +14994,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_network_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/networks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/networks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -15046,7 +15046,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_network_peering(project, network, networks_update_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/networks/{network}/updatePeering', options) + command = make_simple_command(:patch, 'projects/{project}/global/networks/{network}/updatePeering', options) command.request_representation = Google::Apis::ComputeBeta::NetworksUpdatePeeringRequest::Representation command.request_object = networks_update_peering_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15099,7 +15099,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_node_group_nodes(project, zone, node_group, node_groups_add_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/addNodes', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsAddNodesRequest::Representation command.request_object = node_groups_add_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15179,7 +15179,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_group_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeGroups', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupAggregatedList command.params['project'] = project unless project.nil? @@ -15232,7 +15232,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group(project, zone, node_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15284,7 +15284,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_group_nodes(project, zone, node_group, node_groups_delete_nodes_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/deleteNodes', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsDeleteNodesRequest::Representation command.request_object = node_groups_delete_nodes_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15328,7 +15328,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group(project, zone, node_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroup command.params['project'] = project unless project.nil? @@ -15370,7 +15370,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_group_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -15423,7 +15423,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_group(project, zone, initial_node_count, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15498,7 +15498,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_groups(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeGroups', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupList::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupList command.params['project'] = project unless project.nil? @@ -15574,7 +15574,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_group_nodes(project, zone, node_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/listNodes', options) command.response_representation = Google::Apis::ComputeBeta::NodeGroupsListNodes::Representation command.response_class = Google::Apis::ComputeBeta::NodeGroupsListNodes command.params['project'] = project unless project.nil? @@ -15629,7 +15629,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_node_group(project, zone, node_group, node_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) + command = make_simple_command(:patch, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroup::Representation command.request_object = node_group_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15673,7 +15673,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -15726,7 +15726,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_group_node_template(project, zone, node_group, node_groups_set_node_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/setNodeTemplate', options) command.request_representation = Google::Apis::ComputeBeta::NodeGroupsSetNodeTemplateRequest::Representation command.request_object = node_groups_set_node_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -15769,7 +15769,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_group_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -15847,7 +15847,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_template_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTemplates', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateAggregatedList command.params['project'] = project unless project.nil? @@ -15900,7 +15900,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_node_template(project, region, node_template, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -15941,7 +15941,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template(project, region, node_template, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{nodeTemplate}', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplate command.params['project'] = project unless project.nil? @@ -15983,7 +15983,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_template_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -16034,7 +16034,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_node_template(project, region, node_template_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates', options) command.request_representation = Google::Apis::ComputeBeta::NodeTemplate::Representation command.request_object = node_template_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -16107,7 +16107,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_templates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/nodeTemplates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/nodeTemplates', options) command.response_representation = Google::Apis::ComputeBeta::NodeTemplateList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTemplateList command.params['project'] = project unless project.nil? @@ -16151,7 +16151,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_node_template_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -16193,7 +16193,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_node_template_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/nodeTemplates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -16271,7 +16271,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_node_type_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/nodeTypes', options) command.response_representation = Google::Apis::ComputeBeta::NodeTypeAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeAggregatedList command.params['project'] = project unless project.nil? @@ -16314,7 +16314,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_node_type(project, zone, node_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes/{nodeType}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes/{nodeType}', options) command.response_representation = Google::Apis::ComputeBeta::NodeType::Representation command.response_class = Google::Apis::ComputeBeta::NodeType command.params['project'] = project unless project.nil? @@ -16385,7 +16385,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_node_types(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/nodeTypes', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/nodeTypes', options) command.response_representation = Google::Apis::ComputeBeta::NodeTypeList::Representation command.response_class = Google::Apis::ComputeBeta::NodeTypeList command.params['project'] = project unless project.nil? @@ -17159,7 +17159,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_packet_mirroring_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/packetMirrorings', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroringAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroringAggregatedList command.params['project'] = project unless project.nil? @@ -17212,7 +17212,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_packet_mirroring(project, region, packet_mirroring, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17252,7 +17252,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_packet_mirroring(project, region, packet_mirroring, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroring command.params['project'] = project unless project.nil? @@ -17302,7 +17302,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_packet_mirroring(project, region, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings', options) command.request_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -17376,7 +17376,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_packet_mirrorings(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/packetMirrorings', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/packetMirrorings', options) command.response_representation = Google::Apis::ComputeBeta::PacketMirroringList::Representation command.response_class = Google::Apis::ComputeBeta::PacketMirroringList command.params['project'] = project unless project.nil? @@ -17432,7 +17432,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_packet_mirroring(project, region, packet_mirroring, packet_mirroring_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/packetMirrorings/{packetMirroring}', options) command.request_representation = Google::Apis::ComputeBeta::PacketMirroring::Representation command.request_object = packet_mirroring_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -17475,7 +17475,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_packet_mirroring_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/packetMirrorings/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -17523,7 +17523,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17570,7 +17570,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def disable_project_xpn_resource(project, projects_disable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/disableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/disableXpnResource', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsDisableXpnResourceRequest::Representation command.request_object = projects_disable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -17617,7 +17617,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_host(project, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnHost', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -17664,7 +17664,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def enable_project_xpn_resource(project, projects_enable_xpn_resource_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/enableXpnResource', options) + command = make_simple_command(:post, 'projects/{project}/enableXpnResource', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsEnableXpnResourceRequest::Representation command.request_object = projects_enable_xpn_resource_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -17700,7 +17700,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}', options) + command = make_simple_command(:get, 'projects/{project}', options) command.response_representation = Google::Apis::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::Project command.params['project'] = project unless project.nil? @@ -17734,7 +17734,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_host(project, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnHost', options) + command = make_simple_command(:get, 'projects/{project}/getXpnHost', options) command.response_representation = Google::Apis::ComputeBeta::Project::Representation command.response_class = Google::Apis::ComputeBeta::Project command.params['project'] = project unless project.nil? @@ -17802,7 +17802,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/getXpnResources', options) + command = make_simple_command(:get, 'projects/{project}/getXpnResources', options) command.response_representation = Google::Apis::ComputeBeta::ProjectsGetXpnResources::Representation command.response_class = Google::Apis::ComputeBeta::ProjectsGetXpnResources command.params['project'] = project unless project.nil? @@ -17874,7 +17874,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/listXpnHosts', options) + command = make_simple_command(:post, 'projects/{project}/listXpnHosts', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsListXpnHostsRequest::Representation command.request_object = projects_list_xpn_hosts_request_object command.response_representation = Google::Apis::ComputeBeta::XpnHostList::Representation @@ -17925,7 +17925,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_disk(project, disk_move_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveDisk', options) + command = make_simple_command(:post, 'projects/{project}/moveDisk', options) command.request_representation = Google::Apis::ComputeBeta::DiskMoveRequest::Representation command.request_object = disk_move_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -17973,7 +17973,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def move_instance(project, move_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/moveInstance', options) + command = make_simple_command(:post, 'projects/{project}/moveInstance', options) command.request_representation = Google::Apis::ComputeBeta::MoveInstanceRequest::Representation command.request_object = move_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18022,7 +18022,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_common_instance_metadata(project, metadata_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setCommonInstanceMetadata', options) + command = make_simple_command(:post, 'projects/{project}/setCommonInstanceMetadata', options) command.request_representation = Google::Apis::ComputeBeta::Metadata::Representation command.request_object = metadata_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18072,7 +18072,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_project_default_network_tier(project, projects_set_default_network_tier_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options) + command = make_simple_command(:post, 'projects/{project}/setDefaultNetworkTier', options) command.request_representation = Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest::Representation command.request_object = projects_set_default_network_tier_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18122,7 +18122,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_usage_export_bucket(project, usage_export_location_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/setUsageExportBucket', options) + command = make_simple_command(:post, 'projects/{project}/setUsageExportBucket', options) command.request_representation = Google::Apis::ComputeBeta::UsageExportLocation::Representation command.request_object = usage_export_location_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18173,7 +18173,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_autoscaler(project, region, autoscaler, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18213,7 +18213,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_autoscaler(project, region, autoscaler, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers/{autoscaler}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers/{autoscaler}', options) command.response_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.response_class = Google::Apis::ComputeBeta::Autoscaler command.params['project'] = project unless project.nil? @@ -18263,7 +18263,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_autoscaler(project, region, autoscaler_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18336,7 +18336,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_autoscalers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/autoscalers', options) command.response_representation = Google::Apis::ComputeBeta::RegionAutoscalerList::Representation command.response_class = Google::Apis::ComputeBeta::RegionAutoscalerList command.params['project'] = project unless project.nil? @@ -18392,7 +18392,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18435,7 +18435,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_autoscaler_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/autoscalers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -18489,7 +18489,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_autoscaler(project, region, autoscaler_object = nil, autoscaler: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/autoscalers', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/autoscalers', options) command.request_representation = Google::Apis::ComputeBeta::Autoscaler::Representation command.request_object = autoscaler_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18542,7 +18542,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_backend_service(project, region, backend_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -18582,7 +18582,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service(project, region, backend_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.response_representation = Google::Apis::ComputeBeta::BackendService::Representation command.response_class = Google::Apis::ComputeBeta::BackendService command.params['project'] = project unless project.nil? @@ -18621,7 +18621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_backend_service_health(project, region, backend_service, resource_group_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{backendService}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{backendService}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::ResourceGroupReference::Representation command.request_object = resource_group_reference_object command.response_representation = Google::Apis::ComputeBeta::BackendServiceGroupHealth::Representation @@ -18675,7 +18675,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_backend_service(project, region, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18749,7 +18749,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_backend_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/backendServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/backendServices', options) command.response_representation = Google::Apis::ComputeBeta::BackendServiceList::Representation command.response_class = Google::Apis::ComputeBeta::BackendServiceList command.params['project'] = project unless project.nil? @@ -18807,7 +18807,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18850,7 +18850,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_backend_service_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/backendServices/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -18906,7 +18906,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_backend_service(project, region, backend_service, backend_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/backendServices/{backendService}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/backendServices/{backendService}', options) command.request_representation = Google::Apis::ComputeBeta::BackendService::Representation command.request_object = backend_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -18985,7 +18985,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_region_commitment_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/commitments', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/commitments', options) command.response_representation = Google::Apis::ComputeBeta::CommitmentAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::CommitmentAggregatedList command.params['project'] = project unless project.nil? @@ -19028,7 +19028,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_commitment(project, region, commitment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments/{commitment}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments/{commitment}', options) command.response_representation = Google::Apis::ComputeBeta::Commitment::Representation command.response_class = Google::Apis::ComputeBeta::Commitment command.params['project'] = project unless project.nil? @@ -19078,7 +19078,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_commitment(project, region, commitment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments', options) command.request_representation = Google::Apis::ComputeBeta::Commitment::Representation command.request_object = commitment_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19151,7 +19151,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_commitments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/commitments', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/commitments', options) command.response_representation = Google::Apis::ComputeBeta::CommitmentList::Representation command.response_class = Google::Apis::ComputeBeta::CommitmentList command.params['project'] = project unless project.nil? @@ -19205,7 +19205,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_commitment_reservations(project, region, commitment, region_commitments_update_reservations_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/commitments/{commitment}/updateReservations', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/commitments/{commitment}/updateReservations', options) command.request_representation = Google::Apis::ComputeBeta::RegionCommitmentsUpdateReservationsRequest::Representation command.request_object = region_commitments_update_reservations_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19248,7 +19248,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_type(project, region, disk_type, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes/{diskType}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes/{diskType}', options) command.response_representation = Google::Apis::ComputeBeta::DiskType::Representation command.response_class = Google::Apis::ComputeBeta::DiskType command.params['project'] = project unless project.nil? @@ -19319,7 +19319,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disk_types(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/diskTypes', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/diskTypes', options) command.response_representation = Google::Apis::ComputeBeta::RegionDiskTypeList::Representation command.response_class = Google::Apis::ComputeBeta::RegionDiskTypeList command.params['project'] = project unless project.nil? @@ -19374,7 +19374,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_region_disk_resource_policies(project, region, disk, region_disks_add_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/addResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksAddResourcePoliciesRequest::Representation command.request_object = region_disks_add_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19428,7 +19428,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_disk_snapshot(project, region, disk, snapshot_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/createSnapshot', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/createSnapshot', options) command.request_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.request_object = snapshot_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19484,7 +19484,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_disk(project, region, disk, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -19524,7 +19524,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk(project, region, disk, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{disk}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{disk}', options) command.response_representation = Google::Apis::ComputeBeta::Disk::Representation command.response_class = Google::Apis::ComputeBeta::Disk command.params['project'] = project unless project.nil? @@ -19566,7 +19566,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_disk_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -19619,7 +19619,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_disk(project, region, disk_object = nil, request_id: nil, source_image: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks', options) command.request_representation = Google::Apis::ComputeBeta::Disk::Representation command.request_object = disk_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19693,7 +19693,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_disks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/disks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/disks', options) command.response_representation = Google::Apis::ComputeBeta::DiskList::Representation command.response_class = Google::Apis::ComputeBeta::DiskList command.params['project'] = project unless project.nil? @@ -19747,7 +19747,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_region_disk_resource_policies(project, region, disk, region_disks_remove_resource_policies_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/removeResourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksRemoveResourcePoliciesRequest::Representation command.request_object = region_disks_remove_resource_policies_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19801,7 +19801,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_disk(project, region, disk, region_disks_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{disk}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{disk}/resize', options) command.request_representation = Google::Apis::ComputeBeta::RegionDisksResizeRequest::Representation command.request_object = region_disks_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19845,7 +19845,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -19898,7 +19898,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_disk_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -19941,7 +19941,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_disk_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/disks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -19994,7 +19994,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check_service(project, region, health_check_service, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20035,7 +20035,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check_service(project, region, health_check_service, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckService command.params['project'] = project unless project.nil? @@ -20085,7 +20085,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check_service(project, region, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthCheckServices', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20159,7 +20159,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_check_services(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthCheckServices', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthCheckServices', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckServicesList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckServicesList command.params['project'] = project unless project.nil? @@ -20216,7 +20216,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check_service(project, region, health_check_service, health_check_service_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthCheckServices/{healthCheckService}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheckService::Representation command.request_object = health_check_service_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20269,7 +20269,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_health_check(project, region, health_check, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20310,7 +20310,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_health_check(project, region, health_check, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheck command.params['project'] = project unless project.nil? @@ -20360,7 +20360,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_health_check(project, region, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/healthChecks', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20433,7 +20433,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_health_checks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/healthChecks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/healthChecks', options) command.response_representation = Google::Apis::ComputeBeta::HealthCheckList::Representation command.response_class = Google::Apis::ComputeBeta::HealthCheckList command.params['project'] = project unless project.nil? @@ -20489,7 +20489,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20544,7 +20544,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_health_check(project, region, health_check, health_check_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/healthChecks/{healthCheck}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/healthChecks/{healthCheck}', options) command.request_representation = Google::Apis::ComputeBeta::HealthCheck::Representation command.request_object = health_check_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20609,7 +20609,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def abandon_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_abandon_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/abandonInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersAbandonInstancesRequest::Representation command.request_object = region_instance_group_managers_abandon_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20652,7 +20652,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def apply_region_instance_group_manager_updates_to_instances(project, region, instance_group_manager, region_instance_group_managers_apply_updates_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/applyUpdatesToInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersApplyUpdatesRequest::Representation command.request_object = region_instance_group_managers_apply_updates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20710,7 +20710,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def create_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_create_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/createInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersCreateInstancesRequest::Representation command.request_object = region_instance_group_managers_create_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20764,7 +20764,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager(project, region, instance_group_manager, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -20826,7 +20826,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_delete_instances_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deleteInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersDeleteInstancesRequest::Representation command.request_object = region_instance_group_managers_delete_instances_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20869,7 +20869,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_delete_instance_config_req_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/deletePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerDeleteInstanceConfigReq::Representation command.request_object = region_instance_group_manager_delete_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -20910,7 +20910,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group_manager(project, region, instance_group_manager, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroupManager command.params['project'] = project unless project.nil? @@ -20965,7 +20965,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_instance_group_manager(project, region, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21039,7 +21039,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_managers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagerList command.params['project'] = project unless project.nil? @@ -21118,7 +21118,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_errors(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listErrors', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListErrorsResponse command.params['project'] = project unless project.nil? @@ -21197,7 +21197,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstancesResponse command.params['project'] = project unless project.nil? @@ -21274,7 +21274,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listPerInstanceConfigs', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupManagersListInstanceConfigsResp command.params['project'] = project unless project.nil? @@ -21334,7 +21334,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21390,7 +21390,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_patch_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/patchPerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerPatchInstanceConfigReq::Representation command.request_object = region_instance_group_manager_patch_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21453,7 +21453,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def recreate_region_instance_group_manager_instances(project, region, instance_group_manager, region_instance_group_managers_recreate_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/recreateInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersRecreateRequest::Representation command.request_object = region_instance_group_managers_recreate_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21516,7 +21516,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_region_instance_group_manager(project, region, instance_group_manager, size, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resize', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -21570,7 +21570,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_auto_healing_policies(project, region, instance_group_manager, region_instance_group_managers_set_auto_healing_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setAutoHealingPolicies', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetAutoHealingRequest::Representation command.request_object = region_instance_group_managers_set_auto_healing_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21625,7 +21625,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_instance_template(project, region, instance_group_manager, region_instance_group_managers_set_template_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTemplateRequest::Representation command.request_object = region_instance_group_managers_set_template_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21680,7 +21680,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_manager_target_pools(project, region, instance_group_manager, region_instance_group_managers_set_target_pools_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/setTargetPools', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagersSetTargetPoolsRequest::Representation command.request_object = region_instance_group_managers_set_target_pools_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21723,7 +21723,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_manager_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -21780,7 +21780,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager(project, region, instance_group_manager, instance_group_manager_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}', options) command.request_representation = Google::Apis::ComputeBeta::InstanceGroupManager::Representation command.request_object = instance_group_manager_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21836,7 +21836,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_instance_group_manager_per_instance_configs(project, region, instance_group_manager, region_instance_group_manager_update_instance_config_req_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/updatePerInstanceConfigs', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupManagerUpdateInstanceConfigReq::Representation command.request_object = region_instance_group_manager_update_instance_config_req_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -21878,7 +21878,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_instance_group(project, region, instance_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups/{instanceGroup}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}', options) command.response_representation = Google::Apis::ComputeBeta::InstanceGroup::Representation command.response_class = Google::Apis::ComputeBeta::InstanceGroup command.params['project'] = project unless project.nil? @@ -21950,7 +21950,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_groups(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/instanceGroups', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/instanceGroups', options) command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupList::Representation command.response_class = Google::Apis::ComputeBeta::RegionInstanceGroupList command.params['project'] = project unless project.nil? @@ -22029,7 +22029,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_instance_group_instances(project, region, instance_group, region_instance_groups_list_instances_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/listInstances', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstancesRequest::Representation command.request_object = region_instance_groups_list_instances_request_object command.response_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsListInstances::Representation @@ -22086,7 +22086,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_instance_group_named_ports(project, region, instance_group, region_instance_groups_set_named_ports_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{instanceGroup}/setNamedPorts', options) command.request_representation = Google::Apis::ComputeBeta::RegionInstanceGroupsSetNamedPortsRequest::Representation command.request_object = region_instance_groups_set_named_ports_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -22129,7 +22129,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_region_instance_group_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/instanceGroups/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -22181,7 +22181,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_notification_endpoint(project, region, notification_endpoint, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22221,7 +22221,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_notification_endpoint(project, region, notification_endpoint, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints/{notificationEndpoint}', options) command.response_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation command.response_class = Google::Apis::ComputeBeta::NotificationEndpoint command.params['project'] = project unless project.nil? @@ -22271,7 +22271,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_notification_endpoint(project, region, notification_endpoint_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.request_representation = Google::Apis::ComputeBeta::NotificationEndpoint::Representation command.request_object = notification_endpoint_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -22344,7 +22344,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_notification_endpoints(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/notificationEndpoints', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/notificationEndpoints', options) command.response_representation = Google::Apis::ComputeBeta::NotificationEndpointList::Representation command.response_class = Google::Apis::ComputeBeta::NotificationEndpointList command.params['project'] = project unless project.nil? @@ -22386,7 +22386,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['region'] = region unless region.nil? command.params['operation'] = operation unless operation.nil? @@ -22423,7 +22423,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22494,7 +22494,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_operations(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/operations', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? @@ -22546,7 +22546,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_region_operation(project, region, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22596,7 +22596,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_ssl_certificate(project, region, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22637,7 +22637,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_ssl_certificate(project, region, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificate command.params['project'] = project unless project.nil? @@ -22687,7 +22687,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_ssl_certificate(project, region, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/sslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -22761,7 +22761,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_ssl_certificates(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateList command.params['project'] = project unless project.nil? @@ -22814,7 +22814,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_http_proxy(project, region, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -22855,7 +22855,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_http_proxy(project, region, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy command.params['project'] = project unless project.nil? @@ -22905,7 +22905,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_http_proxy(project, region, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -22979,7 +22979,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_http_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList command.params['project'] = project unless project.nil? @@ -23033,7 +23033,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_http_proxy_url_map(project, region, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23086,7 +23086,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_target_https_proxy(project, region, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23127,7 +23127,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_target_https_proxy(project, region, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy command.params['project'] = project unless project.nil? @@ -23177,7 +23177,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_target_https_proxy(project, region, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23251,7 +23251,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_target_https_proxies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList command.params['project'] = project unless project.nil? @@ -23305,7 +23305,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_ssl_certificates(project, region, target_https_proxy, region_target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::RegionTargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = region_target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23359,7 +23359,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_region_target_https_proxy_url_map(project, region, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23403,7 +23403,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_region_url_map(project, region, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -23444,7 +23444,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region_url_map(project, region, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.response_class = Google::Apis::ComputeBeta::UrlMap command.params['project'] = project unless project.nil? @@ -23485,7 +23485,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_region_url_map(project, region, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23530,7 +23530,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_region_url_map_cache(project, region, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeBeta::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23605,7 +23605,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_region_url_maps(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapList command.params['project'] = project unless project.nil? @@ -23652,7 +23652,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23697,7 +23697,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_region_url_map(project, region, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -23741,7 +23741,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_region_url_map(project, region, url_map, region_url_maps_validate_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeBeta::RegionUrlMapsValidateRequest::Representation command.request_object = region_url_maps_validate_request_object command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation @@ -23781,7 +23781,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_region(project, region, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}', options) command.response_representation = Google::Apis::ComputeBeta::Region::Representation command.response_class = Google::Apis::ComputeBeta::Region command.params['project'] = project unless project.nil? @@ -23849,7 +23849,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_regions(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions', options) + command = make_simple_command(:get, 'projects/{project}/regions', options) command.response_representation = Google::Apis::ComputeBeta::RegionList::Representation command.response_class = Google::Apis::ComputeBeta::RegionList command.params['project'] = project unless project.nil? @@ -23927,7 +23927,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_reservation_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/reservations', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/reservations', options) command.response_representation = Google::Apis::ComputeBeta::ReservationAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ReservationAggregatedList command.params['project'] = project unless project.nil? @@ -23980,7 +23980,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_reservation(project, zone, reservation, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24020,7 +24020,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation(project, zone, reservation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{reservation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{reservation}', options) command.response_representation = Google::Apis::ComputeBeta::Reservation::Representation command.response_class = Google::Apis::ComputeBeta::Reservation command.params['project'] = project unless project.nil? @@ -24062,7 +24062,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_reservation_iam_policy(project, zone, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -24113,7 +24113,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_reservation(project, zone, reservation_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations', options) command.request_representation = Google::Apis::ComputeBeta::Reservation::Representation command.request_object = reservation_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -24187,7 +24187,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_reservations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/reservations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/reservations', options) command.response_representation = Google::Apis::ComputeBeta::ReservationList::Representation command.response_class = Google::Apis::ComputeBeta::ReservationList command.params['project'] = project unless project.nil? @@ -24242,7 +24242,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def resize_reservation(project, zone, reservation, reservations_resize_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{reservation}/resize', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{reservation}/resize', options) command.request_representation = Google::Apis::ComputeBeta::ReservationsResizeRequest::Representation command.request_object = reservations_resize_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -24286,7 +24286,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_reservation_iam_policy(project, zone, resource, zone_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::ZoneSetPolicyRequest::Representation command.request_object = zone_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -24328,7 +24328,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_reservation_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/reservations/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -24406,7 +24406,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_resource_policy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/resourcePolicies', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyAggregatedList command.params['project'] = project unless project.nil? @@ -24459,7 +24459,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_resource_policy(project, region, resource_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24499,7 +24499,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy(project, region, resource_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicy command.params['project'] = project unless project.nil? @@ -24541,7 +24541,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_resource_policy_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -24591,7 +24591,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_resource_policy(project, region, resource_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies', options) command.request_representation = Google::Apis::ComputeBeta::ResourcePolicy::Representation command.request_object = resource_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -24665,7 +24665,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_resource_policies(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/resourcePolicies', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/resourcePolicies', options) command.response_representation = Google::Apis::ComputeBeta::ResourcePolicyList::Representation command.response_class = Google::Apis::ComputeBeta::ResourcePolicyList command.params['project'] = project unless project.nil? @@ -24709,7 +24709,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_resource_policy_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -24751,7 +24751,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_resource_policy_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/resourcePolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -24829,7 +24829,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_routers(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/routers', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/routers', options) command.response_representation = Google::Apis::ComputeBeta::RouterAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::RouterAggregatedList command.params['project'] = project unless project.nil? @@ -24882,7 +24882,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_router(project, region, router, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -24923,7 +24923,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}', options) command.response_representation = Google::Apis::ComputeBeta::Router::Representation command.response_class = Google::Apis::ComputeBeta::Router command.params['project'] = project unless project.nil? @@ -25001,7 +25001,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_nat_mapping_info(project, region, router, filter: nil, max_results: nil, nat_name: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getNatMappingInfo', options) command.response_representation = Google::Apis::ComputeBeta::VmEndpointNatMappingsList::Representation command.response_class = Google::Apis::ComputeBeta::VmEndpointNatMappingsList command.params['project'] = project unless project.nil? @@ -25045,7 +25045,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_router_status(project, region, router, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers/{router}/getRouterStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers/{router}/getRouterStatus', options) command.response_representation = Google::Apis::ComputeBeta::RouterStatusResponse::Representation command.response_class = Google::Apis::ComputeBeta::RouterStatusResponse command.params['project'] = project unless project.nil? @@ -25095,7 +25095,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_router(project, region, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25168,7 +25168,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routers(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/routers', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/routers', options) command.response_representation = Google::Apis::ComputeBeta::RouterList::Representation command.response_class = Google::Apis::ComputeBeta::RouterList command.params['project'] = project unless project.nil? @@ -25224,7 +25224,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25268,7 +25268,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def preview_router(project, region, router, router_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{router}/preview', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{router}/preview', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::RoutersPreviewResponse::Representation @@ -25310,7 +25310,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_router_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/routers/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/routers/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -25366,7 +25366,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_router(project, region, router, router_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/regions/{region}/routers/{router}', options) + command = make_simple_command(:put, 'projects/{project}/regions/{region}/routers/{router}', options) command.request_representation = Google::Apis::ComputeBeta::Router::Representation command.request_object = router_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25417,7 +25417,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_route(project, route, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/routes/{route}', options) + command = make_simple_command(:delete, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25455,7 +25455,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_route(project, route, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes/{route}', options) + command = make_simple_command(:get, 'projects/{project}/global/routes/{route}', options) command.response_representation = Google::Apis::ComputeBeta::Route::Representation command.response_class = Google::Apis::ComputeBeta::Route command.params['project'] = project unless project.nil? @@ -25502,7 +25502,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_route(project, route_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes', options) + command = make_simple_command(:post, 'projects/{project}/global/routes', options) command.request_representation = Google::Apis::ComputeBeta::Route::Representation command.request_object = route_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25572,7 +25572,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_routes(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/routes', options) + command = make_simple_command(:get, 'projects/{project}/global/routes', options) command.response_representation = Google::Apis::ComputeBeta::RouteList::Representation command.response_class = Google::Apis::ComputeBeta::RouteList command.params['project'] = project unless project.nil? @@ -25612,7 +25612,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_route_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/routes/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/routes/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -25653,7 +25653,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_security_policy_rule(project, security_policy, security_policy_rule_object = nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/addRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/addRule', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25703,7 +25703,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_security_policy(project, security_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -25740,7 +25740,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy(project, security_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicy command.params['project'] = project unless project.nil? @@ -25778,7 +25778,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/{securityPolicy}/getRule', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/{securityPolicy}/getRule', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicyRule command.params['project'] = project unless project.nil? @@ -25828,7 +25828,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_security_policy(project, security_policy_object = nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -25899,7 +25899,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPolicyList::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPolicyList command.params['project'] = project unless project.nil? @@ -25971,7 +25971,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_security_policy_preconfigured_expression_sets(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) + command = make_simple_command(:get, 'projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets', options) command.response_representation = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse::Representation command.response_class = Google::Apis::ComputeBeta::SecurityPoliciesListPreconfiguredExpressionSetsResponse command.params['project'] = project unless project.nil? @@ -26022,7 +26022,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy(project, security_policy, security_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/securityPolicies/{securityPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/securityPolicies/{securityPolicy}', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicy::Representation command.request_object = security_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -26066,7 +26066,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_security_policy_rule(project, security_policy, security_policy_rule_object = nil, priority: nil, validate_only: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/patchRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/patchRule', options) command.request_representation = Google::Apis::ComputeBeta::SecurityPolicyRule::Representation command.request_object = security_policy_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -26108,7 +26108,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_security_policy_rule(project, security_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{securityPolicy}/removeRule', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{securityPolicy}/removeRule', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26147,7 +26147,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -26186,7 +26186,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_security_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/securityPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -26239,7 +26239,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_snapshot(project, snapshot, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:delete, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26277,7 +26277,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot(project, snapshot, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{snapshot}', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{snapshot}', options) command.response_representation = Google::Apis::ComputeBeta::Snapshot::Representation command.response_class = Google::Apis::ComputeBeta::Snapshot command.params['project'] = project unless project.nil? @@ -26316,7 +26316,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_snapshot_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -26386,7 +26386,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_snapshots(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/snapshots', options) + command = make_simple_command(:get, 'projects/{project}/global/snapshots', options) command.response_representation = Google::Apis::ComputeBeta::SnapshotList::Representation command.response_class = Google::Apis::ComputeBeta::SnapshotList command.params['project'] = project unless project.nil? @@ -26427,7 +26427,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetPolicyRequest::Representation command.request_object = global_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -26467,7 +26467,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_snapshot_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::GlobalSetLabelsRequest::Representation command.request_object = global_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -26506,7 +26506,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_snapshot_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/snapshots/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/snapshots/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -26584,7 +26584,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_ssl_certificate_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateAggregatedList command.params['project'] = project unless project.nil? @@ -26635,7 +26635,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_certificate(project, ssl_certificate, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26673,7 +26673,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_certificate(project, ssl_certificate, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates/{sslCertificate}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates/{sslCertificate}', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificate command.params['project'] = project unless project.nil? @@ -26720,7 +26720,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_certificate(project, ssl_certificate_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::SslCertificate::Representation command.request_object = ssl_certificate_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -26791,7 +26791,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_certificates(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslCertificates', options) + command = make_simple_command(:get, 'projects/{project}/global/sslCertificates', options) command.response_representation = Google::Apis::ComputeBeta::SslCertificateList::Representation command.response_class = Google::Apis::ComputeBeta::SslCertificateList command.params['project'] = project unless project.nil? @@ -26831,7 +26831,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_certificate_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslCertificates/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslCertificates/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -26882,7 +26882,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_ssl_policy(project, ssl_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -26920,7 +26920,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_ssl_policy(project, ssl_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.response_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.response_class = Google::Apis::ComputeBeta::SslPolicy command.params['project'] = project unless project.nil? @@ -26967,7 +26967,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_ssl_policy(project, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27037,7 +27037,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies', options) command.response_representation = Google::Apis::ComputeBeta::SslPoliciesList::Representation command.response_class = Google::Apis::ComputeBeta::SslPoliciesList command.params['project'] = project unless project.nil? @@ -27109,7 +27109,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_ssl_policy_available_features(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/sslPolicies/listAvailableFeatures', options) + command = make_simple_command(:get, 'projects/{project}/global/sslPolicies/listAvailableFeatures', options) command.response_representation = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse::Representation command.response_class = Google::Apis::ComputeBeta::SslPoliciesListAvailableFeaturesResponse command.params['project'] = project unless project.nil? @@ -27161,7 +27161,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_ssl_policy(project, ssl_policy, ssl_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/sslPolicies/{sslPolicy}', options) + command = make_simple_command(:patch, 'projects/{project}/global/sslPolicies/{sslPolicy}', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicy::Representation command.request_object = ssl_policy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27201,7 +27201,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_ssl_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/sslPolicies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/sslPolicies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -27278,7 +27278,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_subnetworks(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks', options) command.response_representation = Google::Apis::ComputeBeta::SubnetworkAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::SubnetworkAggregatedList command.params['project'] = project unless project.nil? @@ -27331,7 +27331,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_subnetwork(project, region, subnetwork, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -27383,7 +27383,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def expand_subnetwork_ip_cidr_range(project, region, subnetwork, subnetworks_expand_ip_cidr_range_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/expandIpCidrRange', options) command.request_representation = Google::Apis::ComputeBeta::SubnetworksExpandIpCidrRangeRequest::Representation command.request_object = subnetworks_expand_ip_cidr_range_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27426,7 +27426,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork(project, region, subnetwork, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.response_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.response_class = Google::Apis::ComputeBeta::Subnetwork command.params['project'] = project unless project.nil? @@ -27468,7 +27468,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_subnetwork_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy', options) command.response_representation = Google::Apis::ComputeBeta::Policy::Representation command.response_class = Google::Apis::ComputeBeta::Policy command.params['project'] = project unless project.nil? @@ -27519,7 +27519,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_subnetwork(project, region, subnetwork_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks', options) command.request_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27592,7 +27592,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetworks(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/subnetworks', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/subnetworks', options) command.response_representation = Google::Apis::ComputeBeta::SubnetworkList::Representation command.response_class = Google::Apis::ComputeBeta::SubnetworkList command.params['project'] = project unless project.nil? @@ -27666,7 +27666,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_subnetwork_usable(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/subnetworks/listUsable', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/subnetworks/listUsable', options) command.response_representation = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::UsableSubnetworksAggregatedList command.params['project'] = project unless project.nil? @@ -27730,7 +27730,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_subnetwork(project, region, subnetwork, subnetwork_object = nil, drain_timeout_seconds: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/regions/{region}/subnetworks/{subnetwork}', options) + command = make_simple_command(:patch, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}', options) command.request_representation = Google::Apis::ComputeBeta::Subnetwork::Representation command.request_object = subnetwork_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27775,7 +27775,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/setIamPolicy', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetPolicyRequest::Representation command.request_object = region_set_policy_request_object command.response_representation = Google::Apis::ComputeBeta::Policy::Representation @@ -27829,7 +27829,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_subnetwork_private_ip_google_access(project, region, subnetwork, subnetworks_set_private_ip_google_access_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{subnetwork}/setPrivateIpGoogleAccess', options) command.request_representation = Google::Apis::ComputeBeta::SubnetworksSetPrivateIpGoogleAccessRequest::Representation command.request_object = subnetworks_set_private_ip_google_access_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -27872,7 +27872,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_subnetwork_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/subnetworks/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -27951,7 +27951,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_http_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyAggregatedList command.params['project'] = project unless project.nil? @@ -28002,7 +28002,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_http_proxy(project, target_http_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28040,7 +28040,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_http_proxy(project, target_http_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies/{targetHttpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies/{targetHttpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxy command.params['project'] = project unless project.nil? @@ -28087,7 +28087,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_http_proxy(project, target_http_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpProxy::Representation command.request_object = target_http_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28158,7 +28158,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_http_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpProxyList command.params['project'] = project unless project.nil? @@ -28209,7 +28209,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_http_proxy_url_map(project, target_http_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpProxies/{targetHttpProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28249,7 +28249,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_http_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -28327,7 +28327,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_target_https_proxy_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyAggregatedList command.params['project'] = project unless project.nil? @@ -28378,7 +28378,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_https_proxy(project, target_https_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28416,7 +28416,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_https_proxy(project, target_https_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxy command.params['project'] = project unless project.nil? @@ -28463,7 +28463,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_https_proxy(project, target_https_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxy::Representation command.request_object = target_https_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28534,7 +28534,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_https_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetHttpsProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetHttpsProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetHttpsProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetHttpsProxyList command.params['project'] = project unless project.nil? @@ -28586,7 +28586,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetQuicOverrideRequest::Representation command.request_object = target_https_proxies_set_quic_override_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28637,7 +28637,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_certificates(project, target_https_proxy, target_https_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::TargetHttpsProxiesSetSslCertificatesRequest::Representation command.request_object = target_https_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28692,7 +28692,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_ssl_policy(project, target_https_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28743,7 +28743,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_https_proxy_url_map(project, target_https_proxy, url_map_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) + command = make_simple_command(:post, 'projects/{project}/targetHttpsProxies/{targetHttpsProxy}/setUrlMap', options) command.request_representation = Google::Apis::ComputeBeta::UrlMapReference::Representation command.request_object = url_map_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -28783,7 +28783,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_https_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetHttpsProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -28860,7 +28860,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_instance(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetInstances', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstanceAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstanceAggregatedList command.params['project'] = project unless project.nil? @@ -28913,7 +28913,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_instance(project, zone, target_instance, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -28954,7 +28954,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_instance(project, zone, target_instance, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances/{targetInstance}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances/{targetInstance}', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstance::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstance command.params['project'] = project unless project.nil? @@ -29004,7 +29004,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_instance(project, zone, target_instance_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances', options) command.request_representation = Google::Apis::ComputeBeta::TargetInstance::Representation command.request_object = target_instance_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29078,7 +29078,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_instances(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/targetInstances', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/targetInstances', options) command.response_representation = Google::Apis::ComputeBeta::TargetInstanceList::Representation command.response_class = Google::Apis::ComputeBeta::TargetInstanceList command.params['project'] = project unless project.nil? @@ -29121,7 +29121,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_instance_iam_permissions(project, zone, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/targetInstances/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -29174,7 +29174,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_health_check(project, region, target_pool, add_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addHealthCheck', options) command.request_representation = Google::Apis::ComputeBeta::AddTargetPoolsHealthCheckRequest::Representation command.request_object = add_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29228,7 +29228,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def add_target_pool_instance(project, region, target_pool, add_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/addInstance', options) command.request_representation = Google::Apis::ComputeBeta::AddTargetPoolsInstanceRequest::Representation command.request_object = add_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29307,7 +29307,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_pools(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetPools', options) command.response_representation = Google::Apis::ComputeBeta::TargetPoolAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolAggregatedList command.params['project'] = project unless project.nil? @@ -29360,7 +29360,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_pool(project, region, target_pool, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29401,7 +29401,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool(project, region, target_pool, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools/{targetPool}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools/{targetPool}', options) command.response_representation = Google::Apis::ComputeBeta::TargetPool::Representation command.response_class = Google::Apis::ComputeBeta::TargetPool command.params['project'] = project unless project.nil? @@ -29442,7 +29442,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_pool_health(project, region, target_pool, instance_reference_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/getHealth', options) command.request_representation = Google::Apis::ComputeBeta::InstanceReference::Representation command.request_object = instance_reference_object command.response_representation = Google::Apis::ComputeBeta::TargetPoolInstanceHealth::Representation @@ -29494,7 +29494,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_pool(project, region, target_pool_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools', options) command.request_representation = Google::Apis::ComputeBeta::TargetPool::Representation command.request_object = target_pool_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29567,7 +29567,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_pools(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetPools', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetPools', options) command.response_representation = Google::Apis::ComputeBeta::TargetPoolList::Representation command.response_class = Google::Apis::ComputeBeta::TargetPoolList command.params['project'] = project unless project.nil? @@ -29621,7 +29621,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_health_check(project, region, target_pool, remove_target_pools_health_check_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeHealthCheck', options) command.request_representation = Google::Apis::ComputeBeta::RemoveTargetPoolsHealthCheckRequest::Representation command.request_object = remove_target_pools_health_check_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29675,7 +29675,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def remove_target_pool_instance(project, region, target_pool, remove_target_pools_instance_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/removeInstance', options) command.request_representation = Google::Apis::ComputeBeta::RemoveTargetPoolsInstanceRequest::Representation command.request_object = remove_target_pools_instance_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29731,7 +29731,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_pool_backup(project, region, target_pool, target_reference_object = nil, failover_ratio: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{targetPool}/setBackup', options) command.request_representation = Google::Apis::ComputeBeta::TargetReference::Representation command.request_object = target_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29775,7 +29775,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_pool_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetPools/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -29825,7 +29825,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_ssl_proxy(project, target_ssl_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -29863,7 +29863,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_ssl_proxy(project, target_ssl_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies/{targetSslProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies/{targetSslProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetSslProxy command.params['project'] = project unless project.nil? @@ -29910,7 +29910,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_ssl_proxy(project, target_ssl_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxy::Representation command.request_object = target_ssl_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -29981,7 +29981,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_ssl_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetSslProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetSslProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetSslProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetSslProxyList command.params['project'] = project unless project.nil? @@ -30032,7 +30032,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_backend_service(project, target_ssl_proxy, target_ssl_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetBackendServiceRequest::Representation command.request_object = target_ssl_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30083,7 +30083,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_proxy_header(project, target_ssl_proxy, target_ssl_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetProxyHeaderRequest::Representation command.request_object = target_ssl_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30134,7 +30134,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_certificates(project, target_ssl_proxy, target_ssl_proxies_set_ssl_certificates_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslCertificates', options) command.request_representation = Google::Apis::ComputeBeta::TargetSslProxiesSetSslCertificatesRequest::Representation command.request_object = target_ssl_proxies_set_ssl_certificates_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30189,7 +30189,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_ssl_proxy_ssl_policy(project, target_ssl_proxy, ssl_policy_reference_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{targetSslProxy}/setSslPolicy', options) command.request_representation = Google::Apis::ComputeBeta::SslPolicyReference::Representation command.request_object = ssl_policy_reference_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30229,7 +30229,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_ssl_proxy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetSslProxies/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/targetSslProxies/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -30278,7 +30278,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_tcp_proxy(project, target_tcp_proxy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:delete, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30316,7 +30316,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_tcp_proxy(project, target_tcp_proxy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies/{targetTcpProxy}', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}', options) command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation command.response_class = Google::Apis::ComputeBeta::TargetTcpProxy command.params['project'] = project unless project.nil? @@ -30363,7 +30363,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_tcp_proxy(project, target_tcp_proxy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxy::Representation command.request_object = target_tcp_proxy_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30434,7 +30434,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_tcp_proxies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/targetTcpProxies', options) + command = make_simple_command(:get, 'projects/{project}/global/targetTcpProxies', options) command.response_representation = Google::Apis::ComputeBeta::TargetTcpProxyList::Representation command.response_class = Google::Apis::ComputeBeta::TargetTcpProxyList command.params['project'] = project unless project.nil? @@ -30485,7 +30485,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_backend_service(project, target_tcp_proxy, target_tcp_proxies_set_backend_service_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setBackendService', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetBackendServiceRequest::Representation command.request_object = target_tcp_proxies_set_backend_service_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30536,7 +30536,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_tcp_proxy_proxy_header(project, target_tcp_proxy, target_tcp_proxies_set_proxy_header_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) + command = make_simple_command(:post, 'projects/{project}/global/targetTcpProxies/{targetTcpProxy}/setProxyHeader', options) command.request_representation = Google::Apis::ComputeBeta::TargetTcpProxiesSetProxyHeaderRequest::Representation command.request_object = target_tcp_proxies_set_proxy_header_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30614,7 +30614,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_target_vpn_gateways(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayAggregatedList command.params['project'] = project unless project.nil? @@ -30667,7 +30667,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_target_vpn_gateway(project, region, target_vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -30708,7 +30708,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_target_vpn_gateway(project, region, target_vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGateway command.params['project'] = project unless project.nil? @@ -30758,7 +30758,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_target_vpn_gateway(project, region, target_vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::TargetVpnGateway::Representation command.request_object = target_vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30832,7 +30832,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_target_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/targetVpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/targetVpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::TargetVpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::TargetVpnGatewayList command.params['project'] = project unless project.nil? @@ -30887,7 +30887,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_target_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -30930,7 +30930,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_target_vpn_gateway_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/targetVpnGateways/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -31009,7 +31009,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_url_map_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapsAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapsAggregatedList command.params['project'] = project unless project.nil? @@ -31060,7 +31060,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_url_map(project, url_map, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:delete, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31098,7 +31098,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_url_map(project, url_map, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps/{urlMap}', options) command.response_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.response_class = Google::Apis::ComputeBeta::UrlMap command.params['project'] = project unless project.nil? @@ -31145,7 +31145,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_url_map(project, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31196,7 +31196,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def invalidate_url_map_cache(project, url_map, cache_invalidation_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/invalidateCache', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/invalidateCache', options) command.request_representation = Google::Apis::ComputeBeta::CacheInvalidationRule::Representation command.request_object = cache_invalidation_rule_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31267,7 +31267,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_url_maps(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/global/urlMaps', options) + command = make_simple_command(:get, 'projects/{project}/global/urlMaps', options) command.response_representation = Google::Apis::ComputeBeta::UrlMapList::Representation command.response_class = Google::Apis::ComputeBeta::UrlMapList command.params['project'] = project unless project.nil? @@ -31320,7 +31320,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def patch_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:patch, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:patch, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31360,7 +31360,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_url_map_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -31410,7 +31410,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def update_url_map(project, url_map, url_map_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:put, '{project}/global/urlMaps/{urlMap}', options) + command = make_simple_command(:put, 'projects/{project}/global/urlMaps/{urlMap}', options) command.request_representation = Google::Apis::ComputeBeta::UrlMap::Representation command.request_object = url_map_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31451,7 +31451,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def validate_url_map(project, url_map, validate_url_maps_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/global/urlMaps/{urlMap}/validate', options) + command = make_simple_command(:post, 'projects/{project}/global/urlMaps/{urlMap}/validate', options) command.request_representation = Google::Apis::ComputeBeta::ValidateUrlMapsRequest::Representation command.request_object = validate_url_maps_request_object command.response_representation = Google::Apis::ComputeBeta::ValidateUrlMapsResponse::Representation @@ -31528,7 +31528,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def aggregated_vpn_gateway_list(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewayAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewayAggregatedList command.params['project'] = project unless project.nil? @@ -31581,7 +31581,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_gateway(project, region, vpn_gateway, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -31622,7 +31622,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}', options) command.response_representation = Google::Apis::ComputeBeta::VpnGateway::Representation command.response_class = Google::Apis::ComputeBeta::VpnGateway command.params['project'] = project unless project.nil? @@ -31661,7 +31661,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_gateway_status(project, region, vpn_gateway, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways/{vpnGateway}/getStatus', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewaysGetStatusResponse::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewaysGetStatusResponse command.params['project'] = project unless project.nil? @@ -31711,7 +31711,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_gateway(project, region, vpn_gateway_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways', options) command.request_representation = Google::Apis::ComputeBeta::VpnGateway::Representation command.request_object = vpn_gateway_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31784,7 +31784,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_gateways(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnGateways', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnGateways', options) command.response_representation = Google::Apis::ComputeBeta::VpnGatewayList::Representation command.response_class = Google::Apis::ComputeBeta::VpnGatewayList command.params['project'] = project unless project.nil? @@ -31839,7 +31839,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_gateway_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnGateways/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -31918,7 +31918,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_aggregated_vpn_tunnel(project, filter: nil, include_all_scopes: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/aggregated/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/aggregated/vpnTunnels', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnelAggregatedList::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnelAggregatedList command.params['project'] = project unless project.nil? @@ -31971,7 +31971,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_vpn_tunnel(project, region, vpn_tunnel, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:delete, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -32012,7 +32012,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_vpn_tunnel(project, region, vpn_tunnel, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnel::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnel command.params['project'] = project unless project.nil? @@ -32062,7 +32062,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def insert_vpn_tunnel(project, region, vpn_tunnel_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels', options) command.request_representation = Google::Apis::ComputeBeta::VpnTunnel::Representation command.request_object = vpn_tunnel_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -32136,7 +32136,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_vpn_tunnels(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/regions/{region}/vpnTunnels', options) + command = make_simple_command(:get, 'projects/{project}/regions/{region}/vpnTunnels', options) command.response_representation = Google::Apis::ComputeBeta::VpnTunnelList::Representation command.response_class = Google::Apis::ComputeBeta::VpnTunnelList command.params['project'] = project unless project.nil? @@ -32191,7 +32191,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def set_vpn_tunnel_labels(project, region, resource, region_set_labels_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/setLabels', options) command.request_representation = Google::Apis::ComputeBeta::RegionSetLabelsRequest::Representation command.request_object = region_set_labels_request_object command.response_representation = Google::Apis::ComputeBeta::Operation::Representation @@ -32234,7 +32234,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def test_vpn_tunnel_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) + command = make_simple_command(:post, 'projects/{project}/regions/{region}/vpnTunnels/{resource}/testIamPermissions', options) command.request_representation = Google::Apis::ComputeBeta::TestPermissionsRequest::Representation command.request_object = test_permissions_request_object command.response_representation = Google::Apis::ComputeBeta::TestPermissionsResponse::Representation @@ -32275,7 +32275,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def delete_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:delete, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:delete, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.params['project'] = project unless project.nil? command.params['zone'] = zone unless zone.nil? command.params['operation'] = operation unless operation.nil? @@ -32312,7 +32312,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations/{operation}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations/{operation}', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -32383,7 +32383,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zone_operations(project, zone, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}/operations', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}/operations', options) command.response_representation = Google::Apis::ComputeBeta::OperationList::Representation command.response_class = Google::Apis::ComputeBeta::OperationList command.params['project'] = project unless project.nil? @@ -32435,7 +32435,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def wait_zone_operation(project, zone, operation, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:post, '{project}/zones/{zone}/operations/{operation}/wait', options) + command = make_simple_command(:post, 'projects/{project}/zones/{zone}/operations/{operation}/wait', options) command.response_representation = Google::Apis::ComputeBeta::Operation::Representation command.response_class = Google::Apis::ComputeBeta::Operation command.params['project'] = project unless project.nil? @@ -32473,7 +32473,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def get_zone(project, zone, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones/{zone}', options) + command = make_simple_command(:get, 'projects/{project}/zones/{zone}', options) command.response_representation = Google::Apis::ComputeBeta::Zone::Representation command.response_class = Google::Apis::ComputeBeta::Zone command.params['project'] = project unless project.nil? @@ -32541,7 +32541,7 @@ module Google # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required def list_zones(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) - command = make_simple_command(:get, '{project}/zones', options) + command = make_simple_command(:get, 'projects/{project}/zones', options) command.response_representation = Google::Apis::ComputeBeta::ZoneList::Representation command.response_class = Google::Apis::ComputeBeta::ZoneList command.params['project'] = project unless project.nil? diff --git a/generated/google/apis/compute_v1.rb b/generated/google/apis/compute_v1.rb index 3923ac49b..9dda06830 100644 --- a/generated/google/apis/compute_v1.rb +++ b/generated/google/apis/compute_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/compute/docs/reference/latest/ module ComputeV1 VERSION = 'V1' - REVISION = '20200331' + REVISION = '20200427' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/compute_v1/classes.rb b/generated/google/apis/compute_v1/classes.rb index 0adbc93fe..c0abc046d 100644 --- a/generated/google/apis/compute_v1/classes.rb +++ b/generated/google/apis/compute_v1/classes.rb @@ -2782,7 +2782,7 @@ module Google # and the backends are instance groups. The named port must be defined on each # backend instance group. This parameter has no meaning if the backends are NEGs. # Must be omitted when the loadBalancingScheme is INTERNAL (Internal TCP/UDP - # Load Blaancing). + # Load Balancing). # Corresponds to the JSON property `portName` # @return [String] attr_accessor :port_name @@ -4220,13 +4220,15 @@ module Google # Specifies the regualar expression patterns that match allowed origins. For # regular expression grammar please see en.cppreference.com/w/cpp/regex/ # ecmascript - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOriginRegexes` # @return [Array] attr_accessor :allow_origin_regexes # Specifies the list of origins that will be allowed to do CORS requests. - # An origin is allowed if it matches either allow_origins or allow_origin_regex. + # An origin is allowed if it matches either an item in allowOrigins or an item + # in allowOriginRegexes. # Corresponds to the JSON property `allowOrigins` # @return [Array] attr_accessor :allow_origins @@ -5861,12 +5863,15 @@ module Google end end + # Represents an external VPN gateway. # External VPN gateway is the on-premises VPN gateway(s) or another cloud - # provider's VPN gateway that connects to your Google Cloud VPN gateway. To - # create a highly available VPN from Google Cloud to your on-premises side or - # another Cloud provider's VPN gateway, you must create a external VPN gateway - # resource in GCP, which provides the information to GCP about your external VPN - # gateway. + # provider's VPN gateway that connects to your Google Cloud VPN gateway. + # To create a highly available VPN from Google Cloud Platform to your VPN + # gateway or another cloud provider's VPN gateway, you must create a external + # VPN gateway resource with information about the other gateway. + # For more information about using external VPN gateways, see Creating an HA + # VPN gateway and tunnel pair to a peer VPN. (== resource_for `$api_version`. + # externalVpnGateways ==) class ExternalVpnGateway include Google::Apis::Core::Hashable @@ -6122,7 +6127,7 @@ module Google # @return [String] attr_accessor :content - # + # The file type of source file. # Corresponds to the JSON property `fileType` # @return [String] attr_accessor :file_type @@ -7331,16 +7336,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -10027,7 +10034,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeV1::Scheduling] attr_accessor :scheduling @@ -12363,7 +12370,7 @@ module Google # @return [Array] attr_accessor :resource_policies - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 # Corresponds to the JSON property `scheduling` # @return [Google::Apis::ComputeV1::Scheduling] attr_accessor :scheduling @@ -14955,10 +14962,7 @@ module Google class LogConfigDataAccessOptions include Google::Apis::Core::Hashable - # Whether Gin logging should happen in a fail-closed manner at the caller. This - # is currently supported in the LocalIAM implementation, Stubby C++, and Stubby - # Java. For Apps Framework, see go/af-audit-logging#failclosed. TODO(b/77591626): - # Add support for Stubby Go. TODO(b/129671387): Add support for Scaffolding. + # # Corresponds to the JSON property `logMode` # @return [String] attr_accessor :log_mode @@ -14980,6 +14984,12 @@ module Google class MachineType include Google::Apis::Core::Hashable + # [Output Only] A list of accelerator configurations assigned to this machine + # type. + # Corresponds to the JSON property `accelerators` + # @return [Array] + attr_accessor :accelerators + # [Output Only] Creation timestamp in RFC3339 text format. # Corresponds to the JSON property `creationTimestamp` # @return [String] @@ -15068,6 +15078,7 @@ module Google # Update properties of this object def update!(**args) + @accelerators = args[:accelerators] if args.key?(:accelerators) @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp) @deprecated = args[:deprecated] if args.key?(:deprecated) @description = args[:description] if args.key?(:description) @@ -15085,6 +15096,31 @@ module Google @zone = args[:zone] if args.key?(:zone) end + # + class Accelerator + include Google::Apis::Core::Hashable + + # Number of accelerator cards exposed to the guest. + # Corresponds to the JSON property `guestAcceleratorCount` + # @return [Fixnum] + attr_accessor :guest_accelerator_count + + # The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. + # Corresponds to the JSON property `guestAcceleratorType` + # @return [String] + attr_accessor :guest_accelerator_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @guest_accelerator_count = args[:guest_accelerator_count] if args.key?(:guest_accelerator_count) + @guest_accelerator_type = args[:guest_accelerator_type] if args.key?(:guest_accelerator_type) + end + end + # class ScratchDisk include Google::Apis::Core::Hashable @@ -15959,8 +15995,11 @@ module Google end # Represents a collection of network endpoints. - # For more information read Network endpoint groups overview. (== resource_for `$ - # api_version`.networkEndpointGroups ==) Next ID: 21 + # A network endpoint group (NEG) defines how a set of endpoints should be + # reached, whether they are reachable, and where they are located. For more + # information about using NEGs, see Setting up internet NEGs or Setting up + # zonal NEGs. (== resource_for `$api_version`.networkEndpointGroups ==) (== + # resource_for `$api_version`.globalNetworkEndpointGroups ==) class NetworkEndpointGroup include Google::Apis::Core::Hashable @@ -16336,7 +16375,7 @@ module Google include Google::Apis::Core::Hashable # Optional query parameter for showing the health status of each network - # endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter, + # endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, # the health status of network endpoints will not be provided. # Corresponds to the JSON property `healthStatus` # @return [String] @@ -19328,7 +19367,12 @@ module Google end end - # Represents a PacketMirroring resource. + # Represents a Packet Mirroring resource. + # Packet Mirroring clones the traffic of specified instances in your Virtual + # Private Cloud (VPC) network and forwards it to a collector destination, such + # as an instance group of an internal TCP/UDP load balancer, for analysis or + # examination. For more information about setting up Packet Mirroring, see Using + # Packet Mirroring. (== resource_for `$api_version`.packetMirrorings ==) class PacketMirroring include Google::Apis::Core::Hashable @@ -20126,16 +20170,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -20210,6 +20256,9 @@ module Google # 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -21728,16 +21777,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** @@ -24602,7 +24653,7 @@ module Google end end - # Sets the scheduling options for an Instance. NextID: 10 + # Sets the scheduling options for an Instance. NextID: 11 class Scheduling include Google::Apis::Core::Hashable @@ -25166,19 +25217,20 @@ module Google class ShieldedInstanceConfig include Google::Apis::Core::Hashable - # Defines whether the instance has integrity monitoring enabled. + # Defines whether the instance has integrity monitoring enabled. Enabled by + # default. # Corresponds to the JSON property `enableIntegrityMonitoring` # @return [Boolean] attr_accessor :enable_integrity_monitoring alias_method :enable_integrity_monitoring?, :enable_integrity_monitoring - # Defines whether the instance has Secure Boot enabled. + # Defines whether the instance has Secure Boot enabled. Disabled by default. # Corresponds to the JSON property `enableSecureBoot` # @return [Boolean] attr_accessor :enable_secure_boot alias_method :enable_secure_boot?, :enable_secure_boot - # Defines whether the instance has the vTPM enabled. + # Defines whether the instance has the vTPM enabled. Enabled by default. # Corresponds to the JSON property `enableVtpm` # @return [Boolean] attr_accessor :enable_vtpm @@ -26481,7 +26533,8 @@ module Google # Whether to enable flow logging for this subnetwork. If this field is not # explicitly set, it will not appear in get listings. If not set the default - # behavior is to disable flow logging. + # behavior is to disable flow logging. This field isn't supported with the + # purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `enableFlowLogs` # @return [Boolean] attr_accessor :enable_flow_logs @@ -26559,7 +26612,8 @@ module Google # INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to # INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for # Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to - # PRIVATE_RFC_1918. + # PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose + # field set to INTERNAL_HTTPS_LOAD_BALANCER. # Corresponds to the JSON property `purpose` # @return [String] attr_accessor :purpose @@ -31068,7 +31122,12 @@ module Google end end - # Represents a VPN gateway resource. Next ID: 13 + # Represents a HA VPN gateway. + # HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely + # connect your on-premises network to your Google Cloud Virtual Private Cloud + # network through an IPsec VPN connection in a single region. For more + # information about Cloud HA VPN solutions, see Cloud VPN topologies . (== + # resource_for `$api_version`.vpnGateways ==) class VpnGateway include Google::Apis::Core::Hashable @@ -32670,16 +32729,18 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the request, - # the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a ` + # condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the [IAM documentation] + # (https://cloud.google.com/iam/help/conditions/resource-policies). # **JSON example:** # ` "bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": # [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", " # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": " - # roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com"], - # "condition": ` "title": "expirable access", "description": "Does not grant + # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" + # ], "condition": ` "title": "expirable access", "description": "Does not grant # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00: # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` # **YAML example:** diff --git a/generated/google/apis/compute_v1/representations.rb b/generated/google/apis/compute_v1/representations.rb index 414b548c0..e48c30451 100644 --- a/generated/google/apis/compute_v1/representations.rb +++ b/generated/google/apis/compute_v1/representations.rb @@ -1921,6 +1921,12 @@ module Google class MachineType class Representation < Google::Apis::Core::JsonRepresentation; end + class Accelerator + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ScratchDisk class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8087,6 +8093,8 @@ module Google class MachineType # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeV1::MachineType::Accelerator, decorator: Google::Apis::ComputeV1::MachineType::Accelerator::Representation + property :creation_timestamp, as: 'creationTimestamp' property :deprecated, as: 'deprecated', class: Google::Apis::ComputeV1::DeprecationStatus, decorator: Google::Apis::ComputeV1::DeprecationStatus::Representation @@ -8106,6 +8114,14 @@ module Google property :zone, as: 'zone' end + class Accelerator + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :guest_accelerator_count, as: 'guestAcceleratorCount' + property :guest_accelerator_type, as: 'guestAcceleratorType' + end + end + class ScratchDisk # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/compute_v1/service.rb b/generated/google/apis/compute_v1/service.rb index 1f15f18d8..0a2b3e7c6 100644 --- a/generated/google/apis/compute_v1/service.rb +++ b/generated/google/apis/compute_v1/service.rb @@ -16598,6 +16598,46 @@ module Google execute_or_queue_command(command, &block) end + # Gets the access control policy for a resource. May be empty if no such policy + # or resource exists. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_region_disk_iam_policy(project, region, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:get, '{project}/regions/{region}/disks/{resource}/getIamPolicy', options) + command.response_representation = Google::Apis::ComputeV1::Policy::Representation + command.response_class = Google::Apis::ComputeV1::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Creates a persistent regional disk in the specified project using the data # included in the request. # @param [String] project @@ -16835,6 +16875,49 @@ module Google execute_or_queue_command(command, &block) end + # Sets the access control policy on the specified resource. Replaces any + # existing policy. + # @param [String] project + # Project ID for this request. + # @param [String] region + # The name of the region for this request. + # @param [String] resource + # Name or id of the resource for this request. + # @param [Google::Apis::ComputeV1::RegionSetPolicyRequest] region_set_policy_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # An opaque string that represents a user for quota purposes. Must not exceed 40 + # characters. + # @param [String] user_ip + # Deprecated. Please use quotaUser instead. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ComputeV1::Policy] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ComputeV1::Policy] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def set_region_disk_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block) + command = make_simple_command(:post, '{project}/regions/{region}/disks/{resource}/setIamPolicy', options) + command.request_representation = Google::Apis::ComputeV1::RegionSetPolicyRequest::Representation + command.request_object = region_set_policy_request_object + command.response_representation = Google::Apis::ComputeV1::Policy::Representation + command.response_class = Google::Apis::ComputeV1::Policy + command.params['project'] = project unless project.nil? + command.params['region'] = region unless region.nil? + command.params['resource'] = resource unless resource.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + command.query['userIp'] = user_ip unless user_ip.nil? + execute_or_queue_command(command, &block) + end + # Sets the labels on the target regional disk. # @param [String] project # Project ID for this request. diff --git a/generated/google/apis/datacatalog_v1beta1.rb b/generated/google/apis/datacatalog_v1beta1.rb index 2ea8b2b98..393be42ed 100644 --- a/generated/google/apis/datacatalog_v1beta1.rb +++ b/generated/google/apis/datacatalog_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/data-catalog/docs/ module DatacatalogV1beta1 VERSION = 'V1beta1' - REVISION = '20200430' + REVISION = '20200510' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/datacatalog_v1beta1/classes.rb b/generated/google/apis/datacatalog_v1beta1/classes.rb index ee2a592e2..da2bd35ba 100644 --- a/generated/google/apis/datacatalog_v1beta1/classes.rb +++ b/generated/google/apis/datacatalog_v1beta1/classes.rb @@ -216,6 +216,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value 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). # Corresponds to the JSON property `requestedPolicyVersion` # @return [Fixnum] attr_accessor :requested_policy_version @@ -1664,10 +1667,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1682,7 +1688,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -1755,6 +1763,9 @@ module Google # 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -1782,10 +1793,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -1800,7 +1814,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", diff --git a/generated/google/apis/file_v1.rb b/generated/google/apis/file_v1.rb index 7dcfa86fb..fa961b3b8 100644 --- a/generated/google/apis/file_v1.rb +++ b/generated/google/apis/file_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1 VERSION = 'V1' - REVISION = '20200413' + REVISION = '20200513' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/file_v1/classes.rb b/generated/google/apis/file_v1/classes.rb index e09e7697f..4a655531a 100644 --- a/generated/google/apis/file_v1/classes.rb +++ b/generated/google/apis/file_v1/classes.rb @@ -22,6 +22,94 @@ module Google module Apis module FileV1 + # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. + class AttributeValue + include Google::Apis::Core::Hashable + + # A Boolean value represented by `true` or `false`. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A 64-bit signed integer. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `stringValue` + # @return [Google::Apis::FileV1::TruncatableString] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @int_value = args[:int_value] if args.key?(:int_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + class Attributes + include Google::Apis::Core::Hashable + + # The set of attributes. Each attribute's key can be up to 128 bytes + # long. The value can be a string up to 256 bytes, a signed 64-bit integer, + # or the Boolean values `true` and `false`. For example: + # "/instance_id": "my-instance" + # "/http/user_agent": "" + # "/http/request_bytes": 300 + # "abc.com/myattribute": true + # Corresponds to the JSON property `attributeMap` + # @return [Hash] + attr_accessor :attribute_map + + # The number of attributes that were discarded. Attributes can be discarded + # because their keys are too long or because there are too many attributes. + # If this value is 0 then all attributes are valid. + # Corresponds to the JSON property `droppedAttributesCount` + # @return [Fixnum] + attr_accessor :dropped_attributes_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_map = args[:attribute_map] if args.key?(:attribute_map) + @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) + end + end + + # Message for reporting billing requests through Eventstream. + class BillingView + include Google::Apis::Core::Hashable + + # Billing requests to be reported for an [Eventstream + # resource](http://google3/cloud/eventstream/v2/resource_event.proto). + # Each request contains billing operations to be reported under a service + # name. See go/billing-view-construction for documentation on constructing + # billing view report requests. + # Corresponds to the JSON property `reportRequests` + # @return [Array] + attr_accessor :report_requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_requests = args[:report_requests] if args.key?(:report_requests) + end + end + # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable @@ -35,6 +123,97 @@ module Google end end + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + class Distribution + include Google::Apis::Core::Hashable + + # The number of samples in each histogram bucket. `bucket_counts` are + # optional. If present, they must sum to the `count` value. + # The buckets are defined below in `bucket_option`. There are N buckets. + # `bucket_counts[0]` is the number of samples in the underflow bucket. + # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples + # in each of the finite buckets. And `bucket_counts[N] is the number + # of samples in the overflow bucket. See the comments of `bucket_option` + # below for more details. + # Any suffix of trailing zeros may be omitted. + # Corresponds to the JSON property `bucketCounts` + # @return [Array] + attr_accessor :bucket_counts + + # The total number of samples in the distribution. Must be >= 0. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Example points. Must be in increasing order of `value` field. + # Corresponds to the JSON property `exemplars` + # @return [Array] + attr_accessor :exemplars + + # Describing buckets with arbitrary user-provided width. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::FileV1::ExplicitBuckets] + attr_accessor :explicit_buckets + + # Describing buckets with exponentially growing width. + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::FileV1::ExponentialBuckets] + attr_accessor :exponential_buckets + + # Describing buckets with constant width. + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::FileV1::LinearBuckets] + attr_accessor :linear_buckets + + # The maximum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `maximum` + # @return [Float] + attr_accessor :maximum + + # The arithmetic mean of the samples in the distribution. If `count` is + # zero then this field must be zero. + # Corresponds to the JSON property `mean` + # @return [Float] + attr_accessor :mean + + # The minimum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `minimum` + # @return [Float] + attr_accessor :minimum + + # The sum of squared deviations from the mean: + # Sum[i=1..count]((x_i - mean)^2) + # where each x_i is a sample values. If `count` is zero then this field + # must be zero, otherwise validation of the request fails. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) + @count = args[:count] if args.key?(:count) + @exemplars = args[:exemplars] if args.key?(:exemplars) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @maximum = args[:maximum] if args.key?(:maximum) + @mean = args[:mean] if args.key?(:mean) + @minimum = args[:minimum] if args.key?(:minimum) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) + end + end + # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -54,6 +233,118 @@ module Google end end + # Exemplars are example points that may be used to annotate aggregated + # distribution values. They are metadata that gives information about a + # particular value added to a Distribution bucket, such as a trace ID that + # was active when a value was added. They may contain further information, + # such as a example values and timestamps, origin, etc. + class Exemplar + include Google::Apis::Core::Hashable + + # Contextual information about the example value. Examples are: + # Trace: type.googleapis.com/google.monitoring.v3.SpanContext + # Literal string: type.googleapis.com/google.protobuf.StringValue + # Labels dropped during aggregation: + # type.googleapis.com/google.monitoring.v3.DroppedLabels + # There may be only a single attachment of any given message type in a + # single exemplar, and this is enforced by the system. + # Corresponds to the JSON property `attachments` + # @return [Array>] + attr_accessor :attachments + + # The observation (sampling) time of the above value. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Value of the exemplar point. This value determines to which bucket the + # exemplar belongs. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachments = args[:attachments] if args.key?(:attachments) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @value = args[:value] if args.key?(:value) + end + end + + # Describing buckets with arbitrary user-provided width. + class ExplicitBuckets + include Google::Apis::Core::Hashable + + # 'bound' is a list of strictly increasing boundaries between + # buckets. Note that a list of length N-1 defines N buckets because + # of fenceposting. See comments on `bucket_options` for details. + # The i'th finite bucket covers the interval + # [bound[i-1], bound[i]) + # where i ranges from 1 to bound_size() - 1. Note that there are no + # finite buckets at all if 'bound' only contains a single element; in + # that special case the single bound defines the boundary between the + # underflow and overflow buckets. + # bucket number lower bound upper bound + # i == 0 (underflow) -inf bound[i] + # 0 < i < bound_size() bound[i-1] bound[i] + # i == bound_size() (overflow) bound[i-1] +inf + # Corresponds to the JSON property `bounds` + # @return [Array] + attr_accessor :bounds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounds = args[:bounds] if args.key?(:bounds) + end + end + + # Describing buckets with exponentially growing width. + class ExponentialBuckets + include Google::Apis::Core::Hashable + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be larger than 1.0. + # Corresponds to the JSON property `growthFactor` + # @return [Float] + attr_accessor :growth_factor + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be > 0. + # Corresponds to the JSON property `scale` + # @return [Float] + attr_accessor :scale + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @growth_factor = args[:growth_factor] if args.key?(:growth_factor) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @scale = args[:scale] if args.key?(:scale) + end + end + # File share configuration for the instance. class FileShareConfig include Google::Apis::Core::Hashable @@ -80,6 +371,143 @@ module Google end end + # Represents information regarding an operation. + class GoogleApiServicecontrolV1Operation + include Google::Apis::Core::Hashable + + # Identity of the consumer who is using the service. + # This field should be filled in for the operations initiated by a + # consumer, but not for service-initiated operations that are + # not related to a specific consumer. + # - This can be in one of the following formats: + # - project:PROJECT_ID, + # - project`_`number:PROJECT_NUMBER, + # - projects/PROJECT_ID or PROJECT_NUMBER, + # - folders/FOLDER_NUMBER, + # - organizations/ORGANIZATION_NUMBER, + # - api`_`key:API_KEY. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + # End time of the operation. + # Required when the operation is used in ServiceController.Report, + # but optional when the operation is used in ServiceController.Check. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # DO NOT USE. This is an experimental field. + # Corresponds to the JSON property `importance` + # @return [String] + attr_accessor :importance + + # Labels describing the operation. Only the following labels are allowed: + # - Labels describing monitored resources as defined in + # the service configuration. + # - Default labels of metric values. When specified, labels defined in the + # metric value override these default. + # - The following labels defined by Google Cloud Platform: + # - `cloud.googleapis.com/location` describing the location where the + # operation happened, + # - `servicecontrol.googleapis.com/user_agent` describing the user agent + # of the API request, + # - `servicecontrol.googleapis.com/service_agent` describing the service + # used to handle the API request (e.g. ESP), + # - `servicecontrol.googleapis.com/platform` describing the platform + # where the API is served, such as App Engine, Compute Engine, or + # Kubernetes Engine. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents information to be logged. + # Corresponds to the JSON property `logEntries` + # @return [Array] + attr_accessor :log_entries + + # Represents information about this operation. Each MetricValueSet + # corresponds to a metric defined in the service configuration. + # The data type used in the MetricValueSet must agree with + # the data type specified in the metric definition. + # Within a single operation, it is not allowed to have more than one + # MetricValue instances that have the same metric names and identical + # label value combinations. If a request has such duplicated MetricValue + # instances, the entire request is rejected with + # an invalid argument error. + # Corresponds to the JSON property `metricValueSets` + # @return [Array] + attr_accessor :metric_value_sets + + # Identity of the operation. This must be unique within the scope of the + # service that generated the operation. If the service calls + # Check() and Report() on the same operation, the two calls should carry + # the same id. + # UUID version 4 is recommended, though not required. + # In scenarios where an operation is computed from existing information + # and an idempotent id is desirable for deduplication purpose, UUID version 5 + # is recommended. See RFC 4122 for details. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Fully qualified name of the operation. Reserved for future use. + # Corresponds to the JSON property `operationName` + # @return [String] + attr_accessor :operation_name + + # Represents the properties needed for quota operations. + # Corresponds to the JSON property `quotaProperties` + # @return [Google::Apis::FileV1::QuotaProperties] + attr_accessor :quota_properties + + # The resources that are involved in the operation. + # The maximum supported number of entries in this field is 100. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + # Required. Start time of the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Unimplemented. A list of Cloud Trace spans. The span names shall contain + # the id of the destination project which can be either the produce or the + # consumer project. + # Corresponds to the JSON property `traceSpans` + # @return [Array] + attr_accessor :trace_spans + + # User defined labels for the resource that this operation is associated + # with. Only a combination of 1000 user labels per consumer project are + # allowed. + # Corresponds to the JSON property `userLabels` + # @return [Hash] + attr_accessor :user_labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @end_time = args[:end_time] if args.key?(:end_time) + @importance = args[:importance] if args.key?(:importance) + @labels = args[:labels] if args.key?(:labels) + @log_entries = args[:log_entries] if args.key?(:log_entries) + @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @operation_name = args[:operation_name] if args.key?(:operation_name) + @quota_properties = args[:quota_properties] if args.key?(:quota_properties) + @resources = args[:resources] if args.key?(:resources) + @start_time = args[:start_time] if args.key?(:start_time) + @trace_spans = args[:trace_spans] if args.key?(:trace_spans) + @user_labels = args[:user_labels] if args.key?(:user_labels) + end + end + # class GoogleCloudSaasacceleratorManagementProvidersV1Instance include Google::Apis::Core::Hashable @@ -446,6 +874,130 @@ module Google end end + # A common proto for logging HTTP requests. Only contains semantics + # defined by the HTTP specification. Product-specific logging + # information MUST be defined in a separate message. + class HttpRequest + include Google::Apis::Core::Hashable + + # The number of HTTP response bytes inserted into cache. Set only when a + # cache fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [Fixnum] + attr_accessor :cache_fill_bytes + + # Whether or not an entity was served from cache + # (with or without validation). + # Corresponds to the JSON property `cacheHit` + # @return [Boolean] + attr_accessor :cache_hit + alias_method :cache_hit?, :cache_hit + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + + # Whether or not the response was validated with the origin server before + # being served from cache. This field is only meaningful if `cache_hit` is + # True. + # Corresponds to the JSON property `cacheValidatedWithOriginServer` + # @return [Boolean] + attr_accessor :cache_validated_with_origin_server + alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The referer URL of the request, as defined in + # [HTTP/1.1 Header Field + # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + # Corresponds to the JSON property `referer` + # @return [String] + attr_accessor :referer + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP + # request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP request message in bytes, including the request + # headers and the request body. + # Corresponds to the JSON property `requestSize` + # @return [Fixnum] + attr_accessor :request_size + + # The scheme (http, https), the host name, the path, and the query + # portion of the URL that was requested. + # Example: `"http://example.com/some/info?color=red"`. + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # The IP address (IPv4 or IPv6) of the origin server that the request was + # sent to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + # The response code indicating the status of the response. + # Examples: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The user agent sent by the client. Example: + # `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET + # CLR 1.0.3705)"`. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @latency = args[:latency] if args.key?(:latency) + @protocol = args[:protocol] if args.key?(:protocol) + @referer = args[:referer] if args.key?(:referer) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @request_method = args[:request_method] if args.key?(:request_method) + @request_size = args[:request_size] if args.key?(:request_size) + @request_url = args[:request_url] if args.key?(:request_url) + @response_size = args[:response_size] if args.key?(:response_size) + @server_ip = args[:server_ip] if args.key?(:server_ip) + @status = args[:status] if args.key?(:status) + @user_agent = args[:user_agent] if args.key?(:user_agent) + end + end + # A Cloud Filestore instance. class Instance include Google::Apis::Core::Hashable @@ -523,6 +1075,44 @@ module Google end end + # Describing buckets with constant width. + class LinearBuckets + include Google::Apis::Core::Hashable + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Corresponds to the JSON property `offset` + # @return [Float] + attr_accessor :offset + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Must be strictly positive. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @offset = args[:offset] if args.key?(:offset) + @width = args[:width] if args.key?(:width) + end + end + # ListInstancesResponse is the result of ListInstancesRequest. class ListInstancesResponse include Google::Apis::Core::Hashable @@ -656,6 +1246,333 @@ module Google end end + # An individual log entry. + class LogEntry + include Google::Apis::Core::Hashable + + # A common proto for logging HTTP requests. Only contains semantics + # defined by the HTTP specification. Product-specific logging + # information MUST be defined in a separate message. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::FileV1::HttpRequest] + attr_accessor :http_request + + # A unique ID for the log entry used for deduplication. If omitted, + # the implementation will generate one based on operation_id. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + + # A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. The log to which this log entry belongs. Examples: `"syslog"`, + # `"book_log"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Additional information about a potentially long-running operation with which + # a log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::FileV1::LogEntryOperation] + attr_accessor :operation + + # The log entry payload, represented as a protocol buffer that is + # expressed as a JSON object. The only accepted type currently is + # AuditLog. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # The severity of the log entry. The default value is + # `LogSeverity.DEFAULT`. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::FileV1::LogEntrySourceLocation] + attr_accessor :source_location + + # The log entry payload, represented as a structure that + # is expressed as a JSON object. + # Corresponds to the JSON property `structPayload` + # @return [Hash] + attr_accessor :struct_payload + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The time the event described by the log entry occurred. If + # omitted, defaults to operation start time. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Optional. Resource name of the trace associated with the log entry, if any. + # If this field contains a relative resource name, you can assume the name is + # relative to `//tracing.googleapis.com`. Example: + # `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_request = args[:http_request] if args.key?(:http_request) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @operation = args[:operation] if args.key?(:operation) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) + @struct_payload = args[:struct_payload] if args.key?(:struct_payload) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @trace = args[:trace] if args.key?(:trace) + end + end + + # Additional information about a potentially long-running operation with which + # a log entry is associated. + class LogEntryOperation + include Google::Apis::Core::Hashable + + # Optional. Set this to True if this is the first log entry in the operation. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first + + # Optional. An arbitrary operation identifier. Log entries with the + # same identifier are assumed to be part of the same operation. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Optional. Set this to True if this is the last log entry in the operation. + # Corresponds to the JSON property `last` + # @return [Boolean] + attr_accessor :last + alias_method :last?, :last + + # Optional. An arbitrary producer identifier. The combination of + # `id` and `producer` must be globally unique. Examples for `producer`: + # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. + # Corresponds to the JSON property `producer` + # @return [String] + attr_accessor :producer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first = args[:first] if args.key?(:first) + @id = args[:id] if args.key?(:id) + @last = args[:last] if args.key?(:last) + @producer = args[:producer] if args.key?(:producer) + end + end + + # Additional information about the source code location that produced the log + # entry. + class LogEntrySourceLocation + include Google::Apis::Core::Hashable + + # Optional. Source file name. Depending on the runtime environment, this + # might be a simple name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + + # Optional. Human-readable name of the function or method being invoked, with + # optional context such as the class or package name. This information may be + # used in contexts such as the logs viewer, where a file and line number are + # less meaningful. The format can vary by language. For example: + # `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` + # (Python). + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # Optional. Line within the source file. 1-based; 0 indicates no line number + # available. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file = args[:file] if args.key?(:file) + @function = args[:function] if args.key?(:function) + @line = args[:line] if args.key?(:line) + end + end + + # Represents a single metric value. + class MetricValue + include Google::Apis::Core::Hashable + + # A boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::FileV1::Distribution] + attr_accessor :distribution_value + + # A double precision floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # The end of the time period over which this metric value's measurement + # applies. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # A signed 64-bit integer value. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # The labels describing the metric value. + # See comments on google.api.servicecontrol.v1.Operation.labels for + # the overriding relationship. + # Note that this map must not contain monitored resource labels. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `moneyValue` + # @return [Google::Apis::FileV1::Money] + attr_accessor :money_value + + # The start of the time period over which this metric value's measurement + # applies. The time period has different semantics for different metric + # types (cumulative, delta, and gauge). See the metric definition + # documentation in the service configuration for details. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # A text string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @double_value = args[:double_value] if args.key?(:double_value) + @end_time = args[:end_time] if args.key?(:end_time) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @labels = args[:labels] if args.key?(:labels) + @money_value = args[:money_value] if args.key?(:money_value) + @start_time = args[:start_time] if args.key?(:start_time) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # Represents a set of metric values in the same metric. + # Each metric value in the set should have a unique combination of start time, + # end time, and label values. + class MetricValueSet + include Google::Apis::Core::Hashable + + # The metric name defined in the service configuration. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # The values in this metric. + # Corresponds to the JSON property `metricValues` + # @return [Array] + attr_accessor :metric_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_name = args[:metric_name] if args.key?(:metric_name) + @metric_values = args[:metric_values] if args.key?(:metric_values) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + end + end + # Network configuration for the instance. class NetworkConfig include Google::Apis::Core::Hashable @@ -828,6 +1745,108 @@ module Google end end + # Represents the properties needed for quota operations. + class QuotaProperties + include Google::Apis::Core::Hashable + + # Quota mode for this operation. + # Corresponds to the JSON property `quotaMode` + # @return [String] + attr_accessor :quota_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quota_mode = args[:quota_mode] if args.key?(:quota_mode) + end + end + + # Request message for the Report method. + class ReportRequest + include Google::Apis::Core::Hashable + + # Operations to be reported. + # Typically the service should report one operation per request. + # Putting multiple operations into a single request is allowed, but should + # be used only when multiple operations are natually available at the time + # of the report. + # There is no limit on the number of operations in the same ReportRequest, + # however the ReportRequest size should be no larger than 1MB. See + # ReportResponse.report_errors for partial failure behavior. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # Specifies which version of service config should be used to process the + # request. + # If unspecified or no matching version can be found, the + # latest one will be used. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + # The service name as specified in its service configuration. For example, + # `"pubsub.googleapis.com"`. + # See + # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ + # google.api#google.api.Service) + # for the definition of a service name. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + + # Describes a resource associated with this operation. + class ResourceInfo + include Google::Apis::Core::Hashable + + # The identifier of the parent of this resource instance. + # Must be in one of the following formats: + # - “projects/” + # - “folders/” + # - “organizations/” + # Corresponds to the JSON property `resourceContainer` + # @return [String] + attr_accessor :resource_container + + # The location of the resource. If not empty, the resource will be checked + # against location policy. The value must be a valid zone, region or + # multiregion. For example: "europe-west4" or "northamerica-northeast1-a" + # Corresponds to the JSON property `resourceLocation` + # @return [String] + attr_accessor :resource_location + + # Name of the resource. This is used for auditing purposes. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_container = args[:resource_container] if args.key?(:resource_container) + @resource_location = args[:resource_location] if args.key?(:resource_location) + @resource_name = args[:resource_name] if args.key?(:resource_name) + end + end + # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is # used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -866,6 +1885,143 @@ module Google @message = args[:message] if args.key?(:message) end end + + # A span represents a single operation within a trace. Spans can be + # nested to form a trace tree. Often, a trace contains a root span + # that describes the end-to-end latency, and one or more subspans for + # its sub-operations. A trace can also contain multiple root spans, + # or none at all. Spans do not need to be contiguous—there may be + # gaps or overlaps between spans in a trace. + class TraceSpan + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::FileV1::Attributes] + attr_accessor :attributes + + # An optional number of child spans that were generated while this span + # was active. If set, allows implementation to detect missing child spans. + # Corresponds to the JSON property `childSpanCount` + # @return [Fixnum] + attr_accessor :child_span_count + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `displayName` + # @return [Google::Apis::FileV1::TruncatableString] + attr_accessor :display_name + + # The end time of the span. On the client side, this is the time kept by + # the local machine where the span execution ends. On the server side, this + # is the time when the server application handler stops running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The resource name of the span in the following format: + # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project; + # it is a 32-character hexadecimal encoding of a 16-byte array. + # [SPAN_ID] is a unique identifier for a span within a trace; it + # is a 16-character hexadecimal encoding of an 8-byte array. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The [SPAN_ID] of this span's parent span. If this is a root span, + # then this field must be empty. + # Corresponds to the JSON property `parentSpanId` + # @return [String] + attr_accessor :parent_span_id + + # (Optional) Set this parameter to indicate whether this span is in + # the same process as its parent. If you do not set this parameter, + # Stackdriver Trace is unable to take advantage of this helpful + # information. + # Corresponds to the JSON property `sameProcessAsParentSpan` + # @return [Boolean] + attr_accessor :same_process_as_parent_span + alias_method :same_process_as_parent_span?, :same_process_as_parent_span + + # The [SPAN_ID] portion of the span's resource name. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # Distinguishes between spans generated in a particular context. For example, + # two spans with the same name may be distinguished using `CLIENT` (caller) + # and `SERVER` (callee) to identify an RPC call. + # Corresponds to the JSON property `spanKind` + # @return [String] + attr_accessor :span_kind + + # The start time of the span. On the client side, this is the time kept by + # the local machine where the span execution starts. On the server side, this + # is the time when the server's application handler starts running. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::FileV1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @child_span_count = args[:child_span_count] if args.key?(:child_span_count) + @display_name = args[:display_name] if args.key?(:display_name) + @end_time = args[:end_time] if args.key?(:end_time) + @name = args[:name] if args.key?(:name) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) + @span_id = args[:span_id] if args.key?(:span_id) + @span_kind = args[:span_kind] if args.key?(:span_kind) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + end + end + + # Represents a string that might be shortened to a specified length. + class TruncatableString + include Google::Apis::Core::Hashable + + # The number of bytes removed from the original string. If this + # value is 0, then the string was not shortened. + # Corresponds to the JSON property `truncatedByteCount` + # @return [Fixnum] + attr_accessor :truncated_byte_count + + # The shortened string. For example, if the original string is 500 + # bytes long and the limit of the string is 128 bytes, then + # `value` contains the first 128 bytes of the 500-byte string. + # Truncation always happens on a UTF8 character boundary. If there + # are multi-byte characters in the string, then the length of the + # shortened string might be less than the size limit. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) + @value = args[:value] if args.key?(:value) + end + end end end end diff --git a/generated/google/apis/file_v1/representations.rb b/generated/google/apis/file_v1/representations.rb index f298faa93..d81f1a293 100644 --- a/generated/google/apis/file_v1/representations.rb +++ b/generated/google/apis/file_v1/representations.rb @@ -22,24 +22,72 @@ module Google module Apis module FileV1 + class AttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BillingView + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Distribution + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Exemplar + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExplicitBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExponentialBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FileShareConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleApiServicecontrolV1Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,12 +130,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HttpRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LinearBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,6 +172,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntryOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntrySourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricValueSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Money + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -130,24 +226,126 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class QuotaProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TraceSpan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TruncatableString + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AttributeValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :string_value, as: 'stringValue', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation + + end + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1::AttributeValue, decorator: Google::Apis::FileV1::AttributeValue::Representation + + property :dropped_attributes_count, as: 'droppedAttributesCount' + end + end + + class BillingView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1::ReportRequest, decorator: Google::Apis::FileV1::ReportRequest::Representation + + end + end + class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Distribution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bucket_counts, as: 'bucketCounts' + property :count, :numeric_string => true, as: 'count' + collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1::Exemplar, decorator: Google::Apis::FileV1::Exemplar::Representation + + property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1::ExplicitBuckets, decorator: Google::Apis::FileV1::ExplicitBuckets::Representation + + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1::ExponentialBuckets, decorator: Google::Apis::FileV1::ExponentialBuckets::Representation + + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1::LinearBuckets, decorator: Google::Apis::FileV1::LinearBuckets::Representation + + property :maximum, as: 'maximum' + property :mean, as: 'mean' + property :minimum, as: 'minimum' + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Exemplar + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments' + property :timestamp, as: 'timestamp' + property :value, as: 'value' + end + end + + class ExplicitBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bounds, as: 'bounds' + end + end + + class ExponentialBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :growth_factor, as: 'growthFactor' + property :num_finite_buckets, as: 'numFiniteBuckets' + property :scale, as: 'scale' + end + end + class FileShareConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -156,6 +354,30 @@ module Google end end + class GoogleApiServicecontrolV1Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + property :end_time, as: 'endTime' + property :importance, as: 'importance' + hash :labels, as: 'labels' + collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1::LogEntry, decorator: Google::Apis::FileV1::LogEntry::Representation + + collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1::MetricValueSet, decorator: Google::Apis::FileV1::MetricValueSet::Representation + + property :operation_id, as: 'operationId' + property :operation_name, as: 'operationName' + property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1::QuotaProperties, decorator: Google::Apis::FileV1::QuotaProperties::Representation + + collection :resources, as: 'resources', class: Google::Apis::FileV1::ResourceInfo, decorator: Google::Apis::FileV1::ResourceInfo::Representation + + property :start_time, as: 'startTime' + collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1::TraceSpan, decorator: Google::Apis::FileV1::TraceSpan::Representation + + hash :user_labels, as: 'userLabels' + end + end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -238,6 +460,27 @@ module Google end end + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :cache_hit, as: 'cacheHit' + property :cache_lookup, as: 'cacheLookup' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :latency, as: 'latency' + property :protocol, as: 'protocol' + property :referer, as: 'referer' + property :remote_ip, as: 'remoteIp' + property :request_method, as: 'requestMethod' + property :request_size, :numeric_string => true, as: 'requestSize' + property :request_url, as: 'requestUrl' + property :response_size, :numeric_string => true, as: 'responseSize' + property :server_ip, as: 'serverIp' + property :status, as: 'status' + property :user_agent, as: 'userAgent' + end + end + class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -256,6 +499,15 @@ module Google end end + class LinearBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_finite_buckets, as: 'numFiniteBuckets' + property :offset, as: 'offset' + property :width, as: 'width' + end + end + class ListInstancesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -295,6 +547,81 @@ module Google end end + class LogEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :http_request, as: 'httpRequest', class: Google::Apis::FileV1::HttpRequest, decorator: Google::Apis::FileV1::HttpRequest::Representation + + property :insert_id, as: 'insertId' + hash :labels, as: 'labels' + property :name, as: 'name' + property :operation, as: 'operation', class: Google::Apis::FileV1::LogEntryOperation, decorator: Google::Apis::FileV1::LogEntryOperation::Representation + + hash :proto_payload, as: 'protoPayload' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1::LogEntrySourceLocation, decorator: Google::Apis::FileV1::LogEntrySourceLocation::Representation + + hash :struct_payload, as: 'structPayload' + property :text_payload, as: 'textPayload' + property :timestamp, as: 'timestamp' + property :trace, as: 'trace' + end + end + + class LogEntryOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :first, as: 'first' + property :id, as: 'id' + property :last, as: 'last' + property :producer, as: 'producer' + end + end + + class LogEntrySourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file, as: 'file' + property :function, as: 'function' + property :line, :numeric_string => true, as: 'line' + end + end + + class MetricValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1::Distribution, decorator: Google::Apis::FileV1::Distribution::Representation + + property :double_value, as: 'doubleValue' + property :end_time, as: 'endTime' + property :int64_value, :numeric_string => true, as: 'int64Value' + hash :labels, as: 'labels' + property :money_value, as: 'moneyValue', class: Google::Apis::FileV1::Money, decorator: Google::Apis::FileV1::Money::Representation + + property :start_time, as: 'startTime' + property :string_value, as: 'stringValue' + end + end + + class MetricValueSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_name, as: 'metricName' + collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1::MetricValue, decorator: Google::Apis::FileV1::MetricValue::Representation + + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + end + end + class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -330,6 +657,32 @@ module Google end end + class QuotaProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :quota_mode, as: 'quotaMode' + end + end + + class ReportRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1::GoogleApiServicecontrolV1Operation::Representation + + property :service_config_id, as: 'serviceConfigId' + property :service_name, as: 'serviceName' + end + end + + class ResourceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_container, as: 'resourceContainer' + property :resource_location, as: 'resourceLocation' + property :resource_name, as: 'resourceName' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -338,6 +691,34 @@ module Google property :message, as: 'message' end end + + class TraceSpan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::FileV1::Attributes, decorator: Google::Apis::FileV1::Attributes::Representation + + property :child_span_count, as: 'childSpanCount' + property :display_name, as: 'displayName', class: Google::Apis::FileV1::TruncatableString, decorator: Google::Apis::FileV1::TruncatableString::Representation + + property :end_time, as: 'endTime' + property :name, as: 'name' + property :parent_span_id, as: 'parentSpanId' + property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' + property :span_id, as: 'spanId' + property :span_kind, as: 'spanKind' + property :start_time, as: 'startTime' + property :status, as: 'status', class: Google::Apis::FileV1::Status, decorator: Google::Apis::FileV1::Status::Representation + + end + end + + class TruncatableString + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :truncated_byte_count, as: 'truncatedByteCount' + property :value, as: 'value' + end + end end end end diff --git a/generated/google/apis/file_v1beta1.rb b/generated/google/apis/file_v1beta1.rb index dd349afdc..9e5425f92 100644 --- a/generated/google/apis/file_v1beta1.rb +++ b/generated/google/apis/file_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/filestore/ module FileV1beta1 VERSION = 'V1beta1' - REVISION = '20200413' + REVISION = '20200513' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/file_v1beta1/classes.rb b/generated/google/apis/file_v1beta1/classes.rb index 350695e6d..74396471c 100644 --- a/generated/google/apis/file_v1beta1/classes.rb +++ b/generated/google/apis/file_v1beta1/classes.rb @@ -22,6 +22,94 @@ module Google module Apis module FileV1beta1 + # The allowed types for [VALUE] in a `[KEY]:[VALUE]` attribute. + class AttributeValue + include Google::Apis::Core::Hashable + + # A Boolean value represented by `true` or `false`. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # A 64-bit signed integer. + # Corresponds to the JSON property `intValue` + # @return [Fixnum] + attr_accessor :int_value + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `stringValue` + # @return [Google::Apis::FileV1beta1::TruncatableString] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @int_value = args[:int_value] if args.key?(:int_value) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + class Attributes + include Google::Apis::Core::Hashable + + # The set of attributes. Each attribute's key can be up to 128 bytes + # long. The value can be a string up to 256 bytes, a signed 64-bit integer, + # or the Boolean values `true` and `false`. For example: + # "/instance_id": "my-instance" + # "/http/user_agent": "" + # "/http/request_bytes": 300 + # "abc.com/myattribute": true + # Corresponds to the JSON property `attributeMap` + # @return [Hash] + attr_accessor :attribute_map + + # The number of attributes that were discarded. Attributes can be discarded + # because their keys are too long or because there are too many attributes. + # If this value is 0 then all attributes are valid. + # Corresponds to the JSON property `droppedAttributesCount` + # @return [Fixnum] + attr_accessor :dropped_attributes_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attribute_map = args[:attribute_map] if args.key?(:attribute_map) + @dropped_attributes_count = args[:dropped_attributes_count] if args.key?(:dropped_attributes_count) + end + end + + # Message for reporting billing requests through Eventstream. + class BillingView + include Google::Apis::Core::Hashable + + # Billing requests to be reported for an [Eventstream + # resource](http://google3/cloud/eventstream/v2/resource_event.proto). + # Each request contains billing operations to be reported under a service + # name. See go/billing-view-construction for documentation on constructing + # billing view report requests. + # Corresponds to the JSON property `reportRequests` + # @return [Array] + attr_accessor :report_requests + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @report_requests = args[:report_requests] if args.key?(:report_requests) + end + end + # The request message for Operations.CancelOperation. class CancelOperationRequest include Google::Apis::Core::Hashable @@ -35,6 +123,97 @@ module Google end end + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + class Distribution + include Google::Apis::Core::Hashable + + # The number of samples in each histogram bucket. `bucket_counts` are + # optional. If present, they must sum to the `count` value. + # The buckets are defined below in `bucket_option`. There are N buckets. + # `bucket_counts[0]` is the number of samples in the underflow bucket. + # `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples + # in each of the finite buckets. And `bucket_counts[N] is the number + # of samples in the overflow bucket. See the comments of `bucket_option` + # below for more details. + # Any suffix of trailing zeros may be omitted. + # Corresponds to the JSON property `bucketCounts` + # @return [Array] + attr_accessor :bucket_counts + + # The total number of samples in the distribution. Must be >= 0. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + # Example points. Must be in increasing order of `value` field. + # Corresponds to the JSON property `exemplars` + # @return [Array] + attr_accessor :exemplars + + # Describing buckets with arbitrary user-provided width. + # Corresponds to the JSON property `explicitBuckets` + # @return [Google::Apis::FileV1beta1::ExplicitBuckets] + attr_accessor :explicit_buckets + + # Describing buckets with exponentially growing width. + # Corresponds to the JSON property `exponentialBuckets` + # @return [Google::Apis::FileV1beta1::ExponentialBuckets] + attr_accessor :exponential_buckets + + # Describing buckets with constant width. + # Corresponds to the JSON property `linearBuckets` + # @return [Google::Apis::FileV1beta1::LinearBuckets] + attr_accessor :linear_buckets + + # The maximum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `maximum` + # @return [Float] + attr_accessor :maximum + + # The arithmetic mean of the samples in the distribution. If `count` is + # zero then this field must be zero. + # Corresponds to the JSON property `mean` + # @return [Float] + attr_accessor :mean + + # The minimum of the population of values. Ignored if `count` is zero. + # Corresponds to the JSON property `minimum` + # @return [Float] + attr_accessor :minimum + + # The sum of squared deviations from the mean: + # Sum[i=1..count]((x_i - mean)^2) + # where each x_i is a sample values. If `count` is zero then this field + # must be zero, otherwise validation of the request fails. + # Corresponds to the JSON property `sumOfSquaredDeviation` + # @return [Float] + attr_accessor :sum_of_squared_deviation + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts) + @count = args[:count] if args.key?(:count) + @exemplars = args[:exemplars] if args.key?(:exemplars) + @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets) + @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets) + @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets) + @maximum = args[:maximum] if args.key?(:maximum) + @mean = args[:mean] if args.key?(:mean) + @minimum = args[:minimum] if args.key?(:minimum) + @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation) + end + end + # A generic empty message that you can re-use to avoid defining duplicated # empty messages in your APIs. A typical example is to use it as the request # or the response type of an API method. For instance: @@ -54,6 +233,118 @@ module Google end end + # Exemplars are example points that may be used to annotate aggregated + # distribution values. They are metadata that gives information about a + # particular value added to a Distribution bucket, such as a trace ID that + # was active when a value was added. They may contain further information, + # such as a example values and timestamps, origin, etc. + class Exemplar + include Google::Apis::Core::Hashable + + # Contextual information about the example value. Examples are: + # Trace: type.googleapis.com/google.monitoring.v3.SpanContext + # Literal string: type.googleapis.com/google.protobuf.StringValue + # Labels dropped during aggregation: + # type.googleapis.com/google.monitoring.v3.DroppedLabels + # There may be only a single attachment of any given message type in a + # single exemplar, and this is enforced by the system. + # Corresponds to the JSON property `attachments` + # @return [Array>] + attr_accessor :attachments + + # The observation (sampling) time of the above value. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Value of the exemplar point. This value determines to which bucket the + # exemplar belongs. + # Corresponds to the JSON property `value` + # @return [Float] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attachments = args[:attachments] if args.key?(:attachments) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @value = args[:value] if args.key?(:value) + end + end + + # Describing buckets with arbitrary user-provided width. + class ExplicitBuckets + include Google::Apis::Core::Hashable + + # 'bound' is a list of strictly increasing boundaries between + # buckets. Note that a list of length N-1 defines N buckets because + # of fenceposting. See comments on `bucket_options` for details. + # The i'th finite bucket covers the interval + # [bound[i-1], bound[i]) + # where i ranges from 1 to bound_size() - 1. Note that there are no + # finite buckets at all if 'bound' only contains a single element; in + # that special case the single bound defines the boundary between the + # underflow and overflow buckets. + # bucket number lower bound upper bound + # i == 0 (underflow) -inf bound[i] + # 0 < i < bound_size() bound[i-1] bound[i] + # i == bound_size() (overflow) bound[i-1] +inf + # Corresponds to the JSON property `bounds` + # @return [Array] + attr_accessor :bounds + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bounds = args[:bounds] if args.key?(:bounds) + end + end + + # Describing buckets with exponentially growing width. + class ExponentialBuckets + include Google::Apis::Core::Hashable + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be larger than 1.0. + # Corresponds to the JSON property `growthFactor` + # @return [Float] + attr_accessor :growth_factor + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th exponential bucket covers the interval + # [scale * growth_factor^(i-1), scale * growth_factor^i) + # where i ranges from 1 to num_finite_buckets inclusive. + # Must be > 0. + # Corresponds to the JSON property `scale` + # @return [Float] + attr_accessor :scale + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @growth_factor = args[:growth_factor] if args.key?(:growth_factor) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @scale = args[:scale] if args.key?(:scale) + end + end + # File share configuration for the instance. class FileShareConfig include Google::Apis::Core::Hashable @@ -80,6 +371,143 @@ module Google end end + # Represents information regarding an operation. + class GoogleApiServicecontrolV1Operation + include Google::Apis::Core::Hashable + + # Identity of the consumer who is using the service. + # This field should be filled in for the operations initiated by a + # consumer, but not for service-initiated operations that are + # not related to a specific consumer. + # - This can be in one of the following formats: + # - project:PROJECT_ID, + # - project`_`number:PROJECT_NUMBER, + # - projects/PROJECT_ID or PROJECT_NUMBER, + # - folders/FOLDER_NUMBER, + # - organizations/ORGANIZATION_NUMBER, + # - api`_`key:API_KEY. + # Corresponds to the JSON property `consumerId` + # @return [String] + attr_accessor :consumer_id + + # End time of the operation. + # Required when the operation is used in ServiceController.Report, + # but optional when the operation is used in ServiceController.Check. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # DO NOT USE. This is an experimental field. + # Corresponds to the JSON property `importance` + # @return [String] + attr_accessor :importance + + # Labels describing the operation. Only the following labels are allowed: + # - Labels describing monitored resources as defined in + # the service configuration. + # - Default labels of metric values. When specified, labels defined in the + # metric value override these default. + # - The following labels defined by Google Cloud Platform: + # - `cloud.googleapis.com/location` describing the location where the + # operation happened, + # - `servicecontrol.googleapis.com/user_agent` describing the user agent + # of the API request, + # - `servicecontrol.googleapis.com/service_agent` describing the service + # used to handle the API request (e.g. ESP), + # - `servicecontrol.googleapis.com/platform` describing the platform + # where the API is served, such as App Engine, Compute Engine, or + # Kubernetes Engine. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents information to be logged. + # Corresponds to the JSON property `logEntries` + # @return [Array] + attr_accessor :log_entries + + # Represents information about this operation. Each MetricValueSet + # corresponds to a metric defined in the service configuration. + # The data type used in the MetricValueSet must agree with + # the data type specified in the metric definition. + # Within a single operation, it is not allowed to have more than one + # MetricValue instances that have the same metric names and identical + # label value combinations. If a request has such duplicated MetricValue + # instances, the entire request is rejected with + # an invalid argument error. + # Corresponds to the JSON property `metricValueSets` + # @return [Array] + attr_accessor :metric_value_sets + + # Identity of the operation. This must be unique within the scope of the + # service that generated the operation. If the service calls + # Check() and Report() on the same operation, the two calls should carry + # the same id. + # UUID version 4 is recommended, though not required. + # In scenarios where an operation is computed from existing information + # and an idempotent id is desirable for deduplication purpose, UUID version 5 + # is recommended. See RFC 4122 for details. + # Corresponds to the JSON property `operationId` + # @return [String] + attr_accessor :operation_id + + # Fully qualified name of the operation. Reserved for future use. + # Corresponds to the JSON property `operationName` + # @return [String] + attr_accessor :operation_name + + # Represents the properties needed for quota operations. + # Corresponds to the JSON property `quotaProperties` + # @return [Google::Apis::FileV1beta1::QuotaProperties] + attr_accessor :quota_properties + + # The resources that are involved in the operation. + # The maximum supported number of entries in this field is 100. + # Corresponds to the JSON property `resources` + # @return [Array] + attr_accessor :resources + + # Required. Start time of the operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Unimplemented. A list of Cloud Trace spans. The span names shall contain + # the id of the destination project which can be either the produce or the + # consumer project. + # Corresponds to the JSON property `traceSpans` + # @return [Array] + attr_accessor :trace_spans + + # User defined labels for the resource that this operation is associated + # with. Only a combination of 1000 user labels per consumer project are + # allowed. + # Corresponds to the JSON property `userLabels` + # @return [Hash] + attr_accessor :user_labels + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_id = args[:consumer_id] if args.key?(:consumer_id) + @end_time = args[:end_time] if args.key?(:end_time) + @importance = args[:importance] if args.key?(:importance) + @labels = args[:labels] if args.key?(:labels) + @log_entries = args[:log_entries] if args.key?(:log_entries) + @metric_value_sets = args[:metric_value_sets] if args.key?(:metric_value_sets) + @operation_id = args[:operation_id] if args.key?(:operation_id) + @operation_name = args[:operation_name] if args.key?(:operation_name) + @quota_properties = args[:quota_properties] if args.key?(:quota_properties) + @resources = args[:resources] if args.key?(:resources) + @start_time = args[:start_time] if args.key?(:start_time) + @trace_spans = args[:trace_spans] if args.key?(:trace_spans) + @user_labels = args[:user_labels] if args.key?(:user_labels) + end + end + # class GoogleCloudSaasacceleratorManagementProvidersV1Instance include Google::Apis::Core::Hashable @@ -446,6 +874,130 @@ module Google end end + # A common proto for logging HTTP requests. Only contains semantics + # defined by the HTTP specification. Product-specific logging + # information MUST be defined in a separate message. + class HttpRequest + include Google::Apis::Core::Hashable + + # The number of HTTP response bytes inserted into cache. Set only when a + # cache fill was attempted. + # Corresponds to the JSON property `cacheFillBytes` + # @return [Fixnum] + attr_accessor :cache_fill_bytes + + # Whether or not an entity was served from cache + # (with or without validation). + # Corresponds to the JSON property `cacheHit` + # @return [Boolean] + attr_accessor :cache_hit + alias_method :cache_hit?, :cache_hit + + # Whether or not a cache lookup was attempted. + # Corresponds to the JSON property `cacheLookup` + # @return [Boolean] + attr_accessor :cache_lookup + alias_method :cache_lookup?, :cache_lookup + + # Whether or not the response was validated with the origin server before + # being served from cache. This field is only meaningful if `cache_hit` is + # True. + # Corresponds to the JSON property `cacheValidatedWithOriginServer` + # @return [Boolean] + attr_accessor :cache_validated_with_origin_server + alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server + + # The request processing latency on the server, from the time the request was + # received until the response was sent. + # Corresponds to the JSON property `latency` + # @return [String] + attr_accessor :latency + + # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" + # Corresponds to the JSON property `protocol` + # @return [String] + attr_accessor :protocol + + # The referer URL of the request, as defined in + # [HTTP/1.1 Header Field + # Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). + # Corresponds to the JSON property `referer` + # @return [String] + attr_accessor :referer + + # The IP address (IPv4 or IPv6) of the client that issued the HTTP + # request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. + # Corresponds to the JSON property `remoteIp` + # @return [String] + attr_accessor :remote_ip + + # The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. + # Corresponds to the JSON property `requestMethod` + # @return [String] + attr_accessor :request_method + + # The size of the HTTP request message in bytes, including the request + # headers and the request body. + # Corresponds to the JSON property `requestSize` + # @return [Fixnum] + attr_accessor :request_size + + # The scheme (http, https), the host name, the path, and the query + # portion of the URL that was requested. + # Example: `"http://example.com/some/info?color=red"`. + # Corresponds to the JSON property `requestUrl` + # @return [String] + attr_accessor :request_url + + # The size of the HTTP response message sent back to the client, in bytes, + # including the response headers and the response body. + # Corresponds to the JSON property `responseSize` + # @return [Fixnum] + attr_accessor :response_size + + # The IP address (IPv4 or IPv6) of the origin server that the request was + # sent to. + # Corresponds to the JSON property `serverIp` + # @return [String] + attr_accessor :server_ip + + # The response code indicating the status of the response. + # Examples: 200, 404. + # Corresponds to the JSON property `status` + # @return [Fixnum] + attr_accessor :status + + # The user agent sent by the client. Example: + # `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET + # CLR 1.0.3705)"`. + # Corresponds to the JSON property `userAgent` + # @return [String] + attr_accessor :user_agent + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes) + @cache_hit = args[:cache_hit] if args.key?(:cache_hit) + @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup) + @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server) + @latency = args[:latency] if args.key?(:latency) + @protocol = args[:protocol] if args.key?(:protocol) + @referer = args[:referer] if args.key?(:referer) + @remote_ip = args[:remote_ip] if args.key?(:remote_ip) + @request_method = args[:request_method] if args.key?(:request_method) + @request_size = args[:request_size] if args.key?(:request_size) + @request_url = args[:request_url] if args.key?(:request_url) + @response_size = args[:response_size] if args.key?(:response_size) + @server_ip = args[:server_ip] if args.key?(:server_ip) + @status = args[:status] if args.key?(:status) + @user_agent = args[:user_agent] if args.key?(:user_agent) + end + end + # A Cloud Filestore instance. class Instance include Google::Apis::Core::Hashable @@ -523,6 +1075,44 @@ module Google end end + # Describing buckets with constant width. + class LinearBuckets + include Google::Apis::Core::Hashable + + # The number of finite buckets. With the underflow and overflow buckets, + # the total number of buckets is `num_finite_buckets` + 2. + # See comments on `bucket_options` for details. + # Corresponds to the JSON property `numFiniteBuckets` + # @return [Fixnum] + attr_accessor :num_finite_buckets + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Corresponds to the JSON property `offset` + # @return [Float] + attr_accessor :offset + + # The i'th linear bucket covers the interval + # [offset + (i-1) * width, offset + i * width) + # where i ranges from 1 to num_finite_buckets, inclusive. + # Must be strictly positive. + # Corresponds to the JSON property `width` + # @return [Float] + attr_accessor :width + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) + @offset = args[:offset] if args.key?(:offset) + @width = args[:width] if args.key?(:width) + end + end + # ListInstancesResponse is the result of ListInstancesRequest. class ListInstancesResponse include Google::Apis::Core::Hashable @@ -656,6 +1246,333 @@ module Google end end + # An individual log entry. + class LogEntry + include Google::Apis::Core::Hashable + + # A common proto for logging HTTP requests. Only contains semantics + # defined by the HTTP specification. Product-specific logging + # information MUST be defined in a separate message. + # Corresponds to the JSON property `httpRequest` + # @return [Google::Apis::FileV1beta1::HttpRequest] + attr_accessor :http_request + + # A unique ID for the log entry used for deduplication. If omitted, + # the implementation will generate one based on operation_id. + # Corresponds to the JSON property `insertId` + # @return [String] + attr_accessor :insert_id + + # A set of user-defined (key, value) data that provides additional + # information about the log entry. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Required. The log to which this log entry belongs. Examples: `"syslog"`, + # `"book_log"`. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Additional information about a potentially long-running operation with which + # a log entry is associated. + # Corresponds to the JSON property `operation` + # @return [Google::Apis::FileV1beta1::LogEntryOperation] + attr_accessor :operation + + # The log entry payload, represented as a protocol buffer that is + # expressed as a JSON object. The only accepted type currently is + # AuditLog. + # Corresponds to the JSON property `protoPayload` + # @return [Hash] + attr_accessor :proto_payload + + # The severity of the log entry. The default value is + # `LogSeverity.DEFAULT`. + # Corresponds to the JSON property `severity` + # @return [String] + attr_accessor :severity + + # Additional information about the source code location that produced the log + # entry. + # Corresponds to the JSON property `sourceLocation` + # @return [Google::Apis::FileV1beta1::LogEntrySourceLocation] + attr_accessor :source_location + + # The log entry payload, represented as a structure that + # is expressed as a JSON object. + # Corresponds to the JSON property `structPayload` + # @return [Hash] + attr_accessor :struct_payload + + # The log entry payload, represented as a Unicode string (UTF-8). + # Corresponds to the JSON property `textPayload` + # @return [String] + attr_accessor :text_payload + + # The time the event described by the log entry occurred. If + # omitted, defaults to operation start time. + # Corresponds to the JSON property `timestamp` + # @return [String] + attr_accessor :timestamp + + # Optional. Resource name of the trace associated with the log entry, if any. + # If this field contains a relative resource name, you can assume the name is + # relative to `//tracing.googleapis.com`. Example: + # `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` + # Corresponds to the JSON property `trace` + # @return [String] + attr_accessor :trace + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @http_request = args[:http_request] if args.key?(:http_request) + @insert_id = args[:insert_id] if args.key?(:insert_id) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + @operation = args[:operation] if args.key?(:operation) + @proto_payload = args[:proto_payload] if args.key?(:proto_payload) + @severity = args[:severity] if args.key?(:severity) + @source_location = args[:source_location] if args.key?(:source_location) + @struct_payload = args[:struct_payload] if args.key?(:struct_payload) + @text_payload = args[:text_payload] if args.key?(:text_payload) + @timestamp = args[:timestamp] if args.key?(:timestamp) + @trace = args[:trace] if args.key?(:trace) + end + end + + # Additional information about a potentially long-running operation with which + # a log entry is associated. + class LogEntryOperation + include Google::Apis::Core::Hashable + + # Optional. Set this to True if this is the first log entry in the operation. + # Corresponds to the JSON property `first` + # @return [Boolean] + attr_accessor :first + alias_method :first?, :first + + # Optional. An arbitrary operation identifier. Log entries with the + # same identifier are assumed to be part of the same operation. + # Corresponds to the JSON property `id` + # @return [String] + attr_accessor :id + + # Optional. Set this to True if this is the last log entry in the operation. + # Corresponds to the JSON property `last` + # @return [Boolean] + attr_accessor :last + alias_method :last?, :last + + # Optional. An arbitrary producer identifier. The combination of + # `id` and `producer` must be globally unique. Examples for `producer`: + # `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. + # Corresponds to the JSON property `producer` + # @return [String] + attr_accessor :producer + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @first = args[:first] if args.key?(:first) + @id = args[:id] if args.key?(:id) + @last = args[:last] if args.key?(:last) + @producer = args[:producer] if args.key?(:producer) + end + end + + # Additional information about the source code location that produced the log + # entry. + class LogEntrySourceLocation + include Google::Apis::Core::Hashable + + # Optional. Source file name. Depending on the runtime environment, this + # might be a simple name or a fully-qualified name. + # Corresponds to the JSON property `file` + # @return [String] + attr_accessor :file + + # Optional. Human-readable name of the function or method being invoked, with + # optional context such as the class or package name. This information may be + # used in contexts such as the logs viewer, where a file and line number are + # less meaningful. The format can vary by language. For example: + # `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` + # (Python). + # Corresponds to the JSON property `function` + # @return [String] + attr_accessor :function + + # Optional. Line within the source file. 1-based; 0 indicates no line number + # available. + # Corresponds to the JSON property `line` + # @return [Fixnum] + attr_accessor :line + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file = args[:file] if args.key?(:file) + @function = args[:function] if args.key?(:function) + @line = args[:line] if args.key?(:line) + end + end + + # Represents a single metric value. + class MetricValue + include Google::Apis::Core::Hashable + + # A boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Distribution represents a frequency distribution of double-valued sample + # points. It contains the size of the population of sample points plus + # additional optional information: + # - the arithmetic mean of the samples + # - the minimum and maximum of the samples + # - the sum-squared-deviation of the samples, used to compute variance + # - a histogram of the values of the sample points + # Corresponds to the JSON property `distributionValue` + # @return [Google::Apis::FileV1beta1::Distribution] + attr_accessor :distribution_value + + # A double precision floating point value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # The end of the time period over which this metric value's measurement + # applies. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # A signed 64-bit integer value. + # Corresponds to the JSON property `int64Value` + # @return [Fixnum] + attr_accessor :int64_value + + # The labels describing the metric value. + # See comments on google.api.servicecontrol.v1.Operation.labels for + # the overriding relationship. + # Note that this map must not contain monitored resource labels. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Represents an amount of money with its currency type. + # Corresponds to the JSON property `moneyValue` + # @return [Google::Apis::FileV1beta1::Money] + attr_accessor :money_value + + # The start of the time period over which this metric value's measurement + # applies. The time period has different semantics for different metric + # types (cumulative, delta, and gauge). See the metric definition + # documentation in the service configuration for details. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # A text string value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @distribution_value = args[:distribution_value] if args.key?(:distribution_value) + @double_value = args[:double_value] if args.key?(:double_value) + @end_time = args[:end_time] if args.key?(:end_time) + @int64_value = args[:int64_value] if args.key?(:int64_value) + @labels = args[:labels] if args.key?(:labels) + @money_value = args[:money_value] if args.key?(:money_value) + @start_time = args[:start_time] if args.key?(:start_time) + @string_value = args[:string_value] if args.key?(:string_value) + end + end + + # Represents a set of metric values in the same metric. + # Each metric value in the set should have a unique combination of start time, + # end time, and label values. + class MetricValueSet + include Google::Apis::Core::Hashable + + # The metric name defined in the service configuration. + # Corresponds to the JSON property `metricName` + # @return [String] + attr_accessor :metric_name + + # The values in this metric. + # Corresponds to the JSON property `metricValues` + # @return [Array] + attr_accessor :metric_values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric_name = args[:metric_name] if args.key?(:metric_name) + @metric_values = args[:metric_values] if args.key?(:metric_values) + end + end + + # Represents an amount of money with its currency type. + class Money + include Google::Apis::Core::Hashable + + # The 3-letter currency code defined in ISO 4217. + # Corresponds to the JSON property `currencyCode` + # @return [String] + attr_accessor :currency_code + + # Number of nano (10^-9) units of the amount. + # The value must be between -999,999,999 and +999,999,999 inclusive. + # If `units` is positive, `nanos` must be positive or zero. + # If `units` is zero, `nanos` can be positive, zero, or negative. + # If `units` is negative, `nanos` must be negative or zero. + # For example $-1.75 is represented as `units`=-1 and `nanos`=-750,000,000. + # Corresponds to the JSON property `nanos` + # @return [Fixnum] + attr_accessor :nanos + + # The whole units of the amount. + # For example if `currencyCode` is `"USD"`, then 1 unit is one US dollar. + # Corresponds to the JSON property `units` + # @return [Fixnum] + attr_accessor :units + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @currency_code = args[:currency_code] if args.key?(:currency_code) + @nanos = args[:nanos] if args.key?(:nanos) + @units = args[:units] if args.key?(:units) + end + end + # Network configuration for the instance. class NetworkConfig include Google::Apis::Core::Hashable @@ -828,6 +1745,108 @@ module Google end end + # Represents the properties needed for quota operations. + class QuotaProperties + include Google::Apis::Core::Hashable + + # Quota mode for this operation. + # Corresponds to the JSON property `quotaMode` + # @return [String] + attr_accessor :quota_mode + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @quota_mode = args[:quota_mode] if args.key?(:quota_mode) + end + end + + # Request message for the Report method. + class ReportRequest + include Google::Apis::Core::Hashable + + # Operations to be reported. + # Typically the service should report one operation per request. + # Putting multiple operations into a single request is allowed, but should + # be used only when multiple operations are natually available at the time + # of the report. + # There is no limit on the number of operations in the same ReportRequest, + # however the ReportRequest size should be no larger than 1MB. See + # ReportResponse.report_errors for partial failure behavior. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + # Specifies which version of service config should be used to process the + # request. + # If unspecified or no matching version can be found, the + # latest one will be used. + # Corresponds to the JSON property `serviceConfigId` + # @return [String] + attr_accessor :service_config_id + + # The service name as specified in its service configuration. For example, + # `"pubsub.googleapis.com"`. + # See + # [google.api.Service](https://cloud.google.com/service-management/reference/rpc/ + # google.api#google.api.Service) + # for the definition of a service name. + # Corresponds to the JSON property `serviceName` + # @return [String] + attr_accessor :service_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @operations = args[:operations] if args.key?(:operations) + @service_config_id = args[:service_config_id] if args.key?(:service_config_id) + @service_name = args[:service_name] if args.key?(:service_name) + end + end + + # Describes a resource associated with this operation. + class ResourceInfo + include Google::Apis::Core::Hashable + + # The identifier of the parent of this resource instance. + # Must be in one of the following formats: + # - “projects/” + # - “folders/” + # - “organizations/” + # Corresponds to the JSON property `resourceContainer` + # @return [String] + attr_accessor :resource_container + + # The location of the resource. If not empty, the resource will be checked + # against location policy. The value must be a valid zone, region or + # multiregion. For example: "europe-west4" or "northamerica-northeast1-a" + # Corresponds to the JSON property `resourceLocation` + # @return [String] + attr_accessor :resource_location + + # Name of the resource. This is used for auditing purposes. + # Corresponds to the JSON property `resourceName` + # @return [String] + attr_accessor :resource_name + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @resource_container = args[:resource_container] if args.key?(:resource_container) + @resource_location = args[:resource_location] if args.key?(:resource_location) + @resource_name = args[:resource_name] if args.key?(:resource_name) + end + end + # The `Status` type defines a logical error model that is suitable for # different programming environments, including REST APIs and RPC APIs. It is # used by [gRPC](https://github.com/grpc). Each `Status` message contains @@ -866,6 +1885,143 @@ module Google @message = args[:message] if args.key?(:message) end end + + # A span represents a single operation within a trace. Spans can be + # nested to form a trace tree. Often, a trace contains a root span + # that describes the end-to-end latency, and one or more subspans for + # its sub-operations. A trace can also contain multiple root spans, + # or none at all. Spans do not need to be contiguous—there may be + # gaps or overlaps between spans in a trace. + class TraceSpan + include Google::Apis::Core::Hashable + + # A set of attributes, each in the format `[KEY]:[VALUE]`. + # Corresponds to the JSON property `attributes` + # @return [Google::Apis::FileV1beta1::Attributes] + attr_accessor :attributes + + # An optional number of child spans that were generated while this span + # was active. If set, allows implementation to detect missing child spans. + # Corresponds to the JSON property `childSpanCount` + # @return [Fixnum] + attr_accessor :child_span_count + + # Represents a string that might be shortened to a specified length. + # Corresponds to the JSON property `displayName` + # @return [Google::Apis::FileV1beta1::TruncatableString] + attr_accessor :display_name + + # The end time of the span. On the client side, this is the time kept by + # the local machine where the span execution ends. On the server side, this + # is the time when the server application handler stops running. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The resource name of the span in the following format: + # projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique + # identifier for a trace within a project; + # it is a 32-character hexadecimal encoding of a 16-byte array. + # [SPAN_ID] is a unique identifier for a span within a trace; it + # is a 16-character hexadecimal encoding of an 8-byte array. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The [SPAN_ID] of this span's parent span. If this is a root span, + # then this field must be empty. + # Corresponds to the JSON property `parentSpanId` + # @return [String] + attr_accessor :parent_span_id + + # (Optional) Set this parameter to indicate whether this span is in + # the same process as its parent. If you do not set this parameter, + # Stackdriver Trace is unable to take advantage of this helpful + # information. + # Corresponds to the JSON property `sameProcessAsParentSpan` + # @return [Boolean] + attr_accessor :same_process_as_parent_span + alias_method :same_process_as_parent_span?, :same_process_as_parent_span + + # The [SPAN_ID] portion of the span's resource name. + # Corresponds to the JSON property `spanId` + # @return [String] + attr_accessor :span_id + + # Distinguishes between spans generated in a particular context. For example, + # two spans with the same name may be distinguished using `CLIENT` (caller) + # and `SERVER` (callee) to identify an RPC call. + # Corresponds to the JSON property `spanKind` + # @return [String] + attr_accessor :span_kind + + # The start time of the span. On the client side, this is the time kept by + # the local machine where the span execution starts. On the server side, this + # is the time when the server's application handler starts running. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # The `Status` type defines a logical error model that is suitable for + # different programming environments, including REST APIs and RPC APIs. It is + # used by [gRPC](https://github.com/grpc). Each `Status` message contains + # three pieces of data: error code, error message, and error details. + # You can find out more about this error model and how to work with it in the + # [API Design Guide](https://cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `status` + # @return [Google::Apis::FileV1beta1::Status] + attr_accessor :status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @attributes = args[:attributes] if args.key?(:attributes) + @child_span_count = args[:child_span_count] if args.key?(:child_span_count) + @display_name = args[:display_name] if args.key?(:display_name) + @end_time = args[:end_time] if args.key?(:end_time) + @name = args[:name] if args.key?(:name) + @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id) + @same_process_as_parent_span = args[:same_process_as_parent_span] if args.key?(:same_process_as_parent_span) + @span_id = args[:span_id] if args.key?(:span_id) + @span_kind = args[:span_kind] if args.key?(:span_kind) + @start_time = args[:start_time] if args.key?(:start_time) + @status = args[:status] if args.key?(:status) + end + end + + # Represents a string that might be shortened to a specified length. + class TruncatableString + include Google::Apis::Core::Hashable + + # The number of bytes removed from the original string. If this + # value is 0, then the string was not shortened. + # Corresponds to the JSON property `truncatedByteCount` + # @return [Fixnum] + attr_accessor :truncated_byte_count + + # The shortened string. For example, if the original string is 500 + # bytes long and the limit of the string is 128 bytes, then + # `value` contains the first 128 bytes of the 500-byte string. + # Truncation always happens on a UTF8 character boundary. If there + # are multi-byte characters in the string, then the length of the + # shortened string might be less than the size limit. + # Corresponds to the JSON property `value` + # @return [String] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @truncated_byte_count = args[:truncated_byte_count] if args.key?(:truncated_byte_count) + @value = args[:value] if args.key?(:value) + end + end end end end diff --git a/generated/google/apis/file_v1beta1/representations.rb b/generated/google/apis/file_v1beta1/representations.rb index 221b8a73a..f6f4eb335 100644 --- a/generated/google/apis/file_v1beta1/representations.rb +++ b/generated/google/apis/file_v1beta1/representations.rb @@ -22,24 +22,72 @@ module Google module Apis module FileV1beta1 + class AttributeValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Attributes + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class BillingView + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CancelOperationRequest class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Distribution + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Empty class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Exemplar + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExplicitBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ExponentialBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class FileShareConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleApiServicecontrolV1Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,12 +130,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class HttpRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Instance class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class LinearBuckets + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListInstancesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -112,6 +172,42 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class LogEntry + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntryOperation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class LogEntrySourceLocation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class MetricValueSet + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class Money + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class NetworkConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -130,24 +226,126 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class QuotaProperties + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ReportRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourceInfo + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Status class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class TraceSpan + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class TruncatableString + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AttributeValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :int_value, :numeric_string => true, as: 'intValue' + property :string_value, as: 'stringValue', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation + + end + end + + class Attributes + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :attribute_map, as: 'attributeMap', class: Google::Apis::FileV1beta1::AttributeValue, decorator: Google::Apis::FileV1beta1::AttributeValue::Representation + + property :dropped_attributes_count, as: 'droppedAttributesCount' + end + end + + class BillingView + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :report_requests, as: 'reportRequests', class: Google::Apis::FileV1beta1::ReportRequest, decorator: Google::Apis::FileV1beta1::ReportRequest::Representation + + end + end + class CancelOperationRequest # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Distribution + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bucket_counts, as: 'bucketCounts' + property :count, :numeric_string => true, as: 'count' + collection :exemplars, as: 'exemplars', class: Google::Apis::FileV1beta1::Exemplar, decorator: Google::Apis::FileV1beta1::Exemplar::Representation + + property :explicit_buckets, as: 'explicitBuckets', class: Google::Apis::FileV1beta1::ExplicitBuckets, decorator: Google::Apis::FileV1beta1::ExplicitBuckets::Representation + + property :exponential_buckets, as: 'exponentialBuckets', class: Google::Apis::FileV1beta1::ExponentialBuckets, decorator: Google::Apis::FileV1beta1::ExponentialBuckets::Representation + + property :linear_buckets, as: 'linearBuckets', class: Google::Apis::FileV1beta1::LinearBuckets, decorator: Google::Apis::FileV1beta1::LinearBuckets::Representation + + property :maximum, as: 'maximum' + property :mean, as: 'mean' + property :minimum, as: 'minimum' + property :sum_of_squared_deviation, as: 'sumOfSquaredDeviation' + end + end + class Empty # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class Exemplar + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :attachments, as: 'attachments' + property :timestamp, as: 'timestamp' + property :value, as: 'value' + end + end + + class ExplicitBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :bounds, as: 'bounds' + end + end + + class ExponentialBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :growth_factor, as: 'growthFactor' + property :num_finite_buckets, as: 'numFiniteBuckets' + property :scale, as: 'scale' + end + end + class FileShareConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -156,6 +354,30 @@ module Google end end + class GoogleApiServicecontrolV1Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_id, as: 'consumerId' + property :end_time, as: 'endTime' + property :importance, as: 'importance' + hash :labels, as: 'labels' + collection :log_entries, as: 'logEntries', class: Google::Apis::FileV1beta1::LogEntry, decorator: Google::Apis::FileV1beta1::LogEntry::Representation + + collection :metric_value_sets, as: 'metricValueSets', class: Google::Apis::FileV1beta1::MetricValueSet, decorator: Google::Apis::FileV1beta1::MetricValueSet::Representation + + property :operation_id, as: 'operationId' + property :operation_name, as: 'operationName' + property :quota_properties, as: 'quotaProperties', class: Google::Apis::FileV1beta1::QuotaProperties, decorator: Google::Apis::FileV1beta1::QuotaProperties::Representation + + collection :resources, as: 'resources', class: Google::Apis::FileV1beta1::ResourceInfo, decorator: Google::Apis::FileV1beta1::ResourceInfo::Representation + + property :start_time, as: 'startTime' + collection :trace_spans, as: 'traceSpans', class: Google::Apis::FileV1beta1::TraceSpan, decorator: Google::Apis::FileV1beta1::TraceSpan::Representation + + hash :user_labels, as: 'userLabels' + end + end + class GoogleCloudSaasacceleratorManagementProvidersV1Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -238,6 +460,27 @@ module Google end end + class HttpRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cache_fill_bytes, :numeric_string => true, as: 'cacheFillBytes' + property :cache_hit, as: 'cacheHit' + property :cache_lookup, as: 'cacheLookup' + property :cache_validated_with_origin_server, as: 'cacheValidatedWithOriginServer' + property :latency, as: 'latency' + property :protocol, as: 'protocol' + property :referer, as: 'referer' + property :remote_ip, as: 'remoteIp' + property :request_method, as: 'requestMethod' + property :request_size, :numeric_string => true, as: 'requestSize' + property :request_url, as: 'requestUrl' + property :response_size, :numeric_string => true, as: 'responseSize' + property :server_ip, as: 'serverIp' + property :status, as: 'status' + property :user_agent, as: 'userAgent' + end + end + class Instance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -256,6 +499,15 @@ module Google end end + class LinearBuckets + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :num_finite_buckets, as: 'numFiniteBuckets' + property :offset, as: 'offset' + property :width, as: 'width' + end + end + class ListInstancesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -295,6 +547,81 @@ module Google end end + class LogEntry + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :http_request, as: 'httpRequest', class: Google::Apis::FileV1beta1::HttpRequest, decorator: Google::Apis::FileV1beta1::HttpRequest::Representation + + property :insert_id, as: 'insertId' + hash :labels, as: 'labels' + property :name, as: 'name' + property :operation, as: 'operation', class: Google::Apis::FileV1beta1::LogEntryOperation, decorator: Google::Apis::FileV1beta1::LogEntryOperation::Representation + + hash :proto_payload, as: 'protoPayload' + property :severity, as: 'severity' + property :source_location, as: 'sourceLocation', class: Google::Apis::FileV1beta1::LogEntrySourceLocation, decorator: Google::Apis::FileV1beta1::LogEntrySourceLocation::Representation + + hash :struct_payload, as: 'structPayload' + property :text_payload, as: 'textPayload' + property :timestamp, as: 'timestamp' + property :trace, as: 'trace' + end + end + + class LogEntryOperation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :first, as: 'first' + property :id, as: 'id' + property :last, as: 'last' + property :producer, as: 'producer' + end + end + + class LogEntrySourceLocation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file, as: 'file' + property :function, as: 'function' + property :line, :numeric_string => true, as: 'line' + end + end + + class MetricValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :distribution_value, as: 'distributionValue', class: Google::Apis::FileV1beta1::Distribution, decorator: Google::Apis::FileV1beta1::Distribution::Representation + + property :double_value, as: 'doubleValue' + property :end_time, as: 'endTime' + property :int64_value, :numeric_string => true, as: 'int64Value' + hash :labels, as: 'labels' + property :money_value, as: 'moneyValue', class: Google::Apis::FileV1beta1::Money, decorator: Google::Apis::FileV1beta1::Money::Representation + + property :start_time, as: 'startTime' + property :string_value, as: 'stringValue' + end + end + + class MetricValueSet + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric_name, as: 'metricName' + collection :metric_values, as: 'metricValues', class: Google::Apis::FileV1beta1::MetricValue, decorator: Google::Apis::FileV1beta1::MetricValue::Representation + + end + end + + class Money + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :currency_code, as: 'currencyCode' + property :nanos, as: 'nanos' + property :units, :numeric_string => true, as: 'units' + end + end + class NetworkConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -330,6 +657,32 @@ module Google end end + class QuotaProperties + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :quota_mode, as: 'quotaMode' + end + end + + class ReportRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :operations, as: 'operations', class: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation, decorator: Google::Apis::FileV1beta1::GoogleApiServicecontrolV1Operation::Representation + + property :service_config_id, as: 'serviceConfigId' + property :service_name, as: 'serviceName' + end + end + + class ResourceInfo + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_container, as: 'resourceContainer' + property :resource_location, as: 'resourceLocation' + property :resource_name, as: 'resourceName' + end + end + class Status # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -338,6 +691,34 @@ module Google property :message, as: 'message' end end + + class TraceSpan + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attributes, as: 'attributes', class: Google::Apis::FileV1beta1::Attributes, decorator: Google::Apis::FileV1beta1::Attributes::Representation + + property :child_span_count, as: 'childSpanCount' + property :display_name, as: 'displayName', class: Google::Apis::FileV1beta1::TruncatableString, decorator: Google::Apis::FileV1beta1::TruncatableString::Representation + + property :end_time, as: 'endTime' + property :name, as: 'name' + property :parent_span_id, as: 'parentSpanId' + property :same_process_as_parent_span, as: 'sameProcessAsParentSpan' + property :span_id, as: 'spanId' + property :span_kind, as: 'spanKind' + property :start_time, as: 'startTime' + property :status, as: 'status', class: Google::Apis::FileV1beta1::Status, decorator: Google::Apis::FileV1beta1::Status::Representation + + end + end + + class TruncatableString + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :truncated_byte_count, as: 'truncatedByteCount' + property :value, as: 'value' + end + end end end end diff --git a/generated/google/apis/ml_v1.rb b/generated/google/apis/ml_v1.rb index 8607dd6e0..0489a1c26 100644 --- a/generated/google/apis/ml_v1.rb +++ b/generated/google/apis/ml_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/ml/ module MlV1 VERSION = 'V1' - REVISION = '20200413' + REVISION = '20200513' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/ml_v1/classes.rb b/generated/google/apis/ml_v1/classes.rb index 030fa5255..4b4e7e4ec 100644 --- a/generated/google/apis/ml_v1/classes.rb +++ b/generated/google/apis/ml_v1/classes.rb @@ -906,13 +906,13 @@ module Google # There are two feature attribution methods supported for TensorFlow models: # integrated gradients and sampled Shapley. # [Learn more about feature - # attributions.](/ml-engine/docs/ai-explanations/overview) + # attributions.](/ai-platform/prediction/docs/ai-explanations/overview) class GoogleCloudMlV1ExplanationConfig include Google::Apis::Core::Hashable # Attributes credit by computing the Aumann-Shapley value taking advantage # of the model's fully differentiable structure. Refer to this paper for - # more details: http://proceedings.mlr.press/v70/sundararajan17a.html + # more details: https://arxiv.org/abs/1703.01365 # Corresponds to the JSON property `integratedGradientsAttribution` # @return [Google::Apis::MlV1::GoogleCloudMlV1IntegratedGradientsAttribution] attr_accessor :integrated_gradients_attribution @@ -1142,7 +1142,7 @@ module Google # Attributes credit by computing the Aumann-Shapley value taking advantage # of the model's fully differentiable structure. Refer to this paper for - # more details: http://proceedings.mlr.press/v70/sundararajan17a.html + # more details: https://arxiv.org/abs/1703.01365 class GoogleCloudMlV1IntegratedGradientsAttribution include Google::Apis::Core::Hashable @@ -1937,6 +1937,38 @@ module Google # @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig] attr_accessor :accelerator_config + # Arguments to the entrypoint command. + # The following rules apply for container_command and container_args: + # - If you do not supply command or args: + # The defaults defined in the Docker image are used. + # - If you supply a command but no args: + # The default EntryPoint and the default Cmd defined in the Docker image + # are ignored. Your command is run without any arguments. + # - If you supply only args: + # The default Entrypoint defined in the Docker image is run with the args + # that you supplied. + # - If you supply a command and args: + # The default Entrypoint and the default Cmd defined in the Docker image + # are ignored. Your command is run with your args. + # It cannot be set if custom container image is + # not provided. + # Note that this field and [TrainingInput.args] are mutually exclusive, i.e., + # both cannot be set at the same time. + # Corresponds to the JSON property `containerArgs` + # @return [Array] + attr_accessor :container_args + + # The command with which the replica's custom container is run. + # If provided, it will override default ENTRYPOINT of the docker image. + # If not provided, the docker image's ENTRYPOINT is used. + # It cannot be set if custom container image is + # not provided. + # Note that this field and [TrainingInput.args] are mutually exclusive, i.e., + # both cannot be set at the same time. + # Corresponds to the JSON property `containerCommand` + # @return [Array] + attr_accessor :container_command + # The Docker image to run on the replica. This image must be in Container # Registry. Learn more about [configuring custom # containers](/ai-platform/training/docs/distributed-training-containers). @@ -1969,6 +2001,8 @@ module Google # Update properties of this object def update!(**args) @accelerator_config = args[:accelerator_config] if args.key?(:accelerator_config) + @container_args = args[:container_args] if args.key?(:container_args) + @container_command = args[:container_command] if args.key?(:container_command) @image_uri = args[:image_uri] if args.key?(:image_uri) @tpu_tf_version = args[:tpu_tf_version] if args.key?(:tpu_tf_version) end @@ -2052,8 +2086,8 @@ module Google include Google::Apis::Core::Hashable # Optional. The maximum job running time, expressed in seconds. The field can - # contain up to nine fractional digits, terminated by `s`. By default there - # is no limit to the running time. + # contain up to nine fractional digits, terminated by `s`. If not specified, + # this field defaults to `604800s` (seven days). # If the training job is still running after this duration, AI Platform # Training cancels it. # For example, if you want to ensure your job runs for no more than 2 hours, @@ -2075,6 +2109,11 @@ module Google # @return [String] attr_accessor :max_running_time + # + # Corresponds to the JSON property `maxWaitTime` + # @return [String] + attr_accessor :max_wait_time + def initialize(**args) update!(**args) end @@ -2082,6 +2121,7 @@ module Google # Update properties of this object def update!(**args) @max_running_time = args[:max_running_time] if args.key?(:max_running_time) + @max_wait_time = args[:max_wait_time] if args.key?(:max_wait_time) end end @@ -2415,6 +2455,19 @@ module Google # @return [String] attr_accessor :master_type + # Optional. The full name of the Google Compute Engine + # [network](/compute/docs/networks-and-firewalls#networks) to which the Job + # is peered. For example, projects/12345/global/networks/myVPC. Format is of + # the form projects/`project`/global/networks/`network`. Where `project` is a + # project number, as in '12345', and `network` is network name.". + # Private services access must already be configured for the network. If left + # unspecified, the Job is not peered with any network. Learn more - + # Connecting Job to user network over private + # IP. + # Corresponds to the JSON property `network` + # @return [String] + attr_accessor :network + # Required. The Google Cloud Storage location of the packages with # the training program and any additional dependencies. # The maximum number of package URIs is 100. @@ -2554,6 +2607,7 @@ module Google @job_dir = args[:job_dir] if args.key?(:job_dir) @master_config = args[:master_config] if args.key?(:master_config) @master_type = args[:master_type] if args.key?(:master_type) + @network = args[:network] if args.key?(:network) @package_uris = args[:package_uris] if args.key?(:package_uris) @parameter_server_config = args[:parameter_server_config] if args.key?(:parameter_server_config) @parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count) @@ -2779,7 +2833,7 @@ module Google # There are two feature attribution methods supported for TensorFlow models: # integrated gradients and sampled Shapley. # [Learn more about feature - # attributions.](/ml-engine/docs/ai-explanations/overview) + # attributions.](/ai-platform/prediction/docs/ai-explanations/overview) # Corresponds to the JSON property `explanationConfig` # @return [Google::Apis::MlV1::GoogleCloudMlV1ExplanationConfig] attr_accessor :explanation_config @@ -3233,10 +3287,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -3251,7 +3308,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -3329,6 +3388,9 @@ module Google # 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). # Corresponds to the JSON property `version` # @return [Fixnum] attr_accessor :version @@ -3357,10 +3419,13 @@ module Google # Google groups, and domains (such as G Suite). A `role` is a named list of # permissions; each `role` can be an IAM predefined role or a user-created # custom role. - # Optionally, a `binding` can specify a `condition`, which is a logical - # expression that allows access to a resource only if the expression evaluates - # to `true`. A condition can add constraints based on attributes of the - # request, the resource, or both. + # For some types of Google Cloud resources, a `binding` can also specify a + # `condition`, which is a logical expression that allows access to a resource + # only if the expression evaluates to `true`. A condition can add constraints + # based on attributes of the request, the resource, or both. To learn which + # resources support conditions in their IAM policies, see the + # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource- + # policies). # **JSON example:** # ` # "bindings": [ @@ -3375,7 +3440,9 @@ module Google # `, # ` # "role": "roles/resourcemanager.organizationViewer", - # "members": ["user:eve@example.com"], + # "members": [ + # "user:eve@example.com" + # ], # "condition": ` # "title": "expirable access", # "description": "Does not grant access after Sep 2020", @@ -3413,8 +3480,7 @@ module Google # 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" - # This field is only used by Cloud IAM. + # `paths: "bindings, etag"` # Corresponds to the JSON property `updateMask` # @return [String] attr_accessor :update_mask diff --git a/generated/google/apis/ml_v1/representations.rb b/generated/google/apis/ml_v1/representations.rb index 7eb7776fc..f4a122069 100644 --- a/generated/google/apis/ml_v1/representations.rb +++ b/generated/google/apis/ml_v1/representations.rb @@ -984,6 +984,8 @@ module Google class Representation < Google::Apis::Core::JsonRepresentation property :accelerator_config, as: 'acceleratorConfig', class: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig::Representation + collection :container_args, as: 'containerArgs' + collection :container_command, as: 'containerCommand' property :image_uri, as: 'imageUri' property :tpu_tf_version, as: 'tpuTfVersion' end @@ -1008,6 +1010,7 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :max_running_time, as: 'maxRunningTime' + property :max_wait_time, as: 'maxWaitTime' end end @@ -1093,6 +1096,7 @@ module Google property :master_config, as: 'masterConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation property :master_type, as: 'masterType' + property :network, as: 'network' collection :package_uris, as: 'packageUris' property :parameter_server_config, as: 'parameterServerConfig', class: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig, decorator: Google::Apis::MlV1::GoogleCloudMlV1ReplicaConfig::Representation diff --git a/generated/google/apis/ml_v1/service.rb b/generated/google/apis/ml_v1/service.rb index 36fb7fad6..e06604e6b 100644 --- a/generated/google/apis/ml_v1/service.rb +++ b/generated/google/apis/ml_v1/service.rb @@ -48,8 +48,7 @@ module Google end # Performs explanation on the data in the request. - # AI Platform implements a custom `explain` verb on top of an HTTP POST - # method. + #
`% dynamic include "/ai-platform/includes/___explain-request" %`
# @param [String] name # Required. The resource name of a model or a version. # Authorization: requires the `predict` permission on the specified resource. @@ -260,6 +259,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value 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). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -397,7 +399,7 @@ module Google # Sets the access control policy on the specified resource. Replaces any # existing policy. - # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. @@ -433,7 +435,7 @@ module Google # Returns permissions that a caller has on the specified resource. # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. + # permissions, not a `NOT_FOUND` error. # Note: This operation is designed to be used for building permission-aware # UIs and command-line tools, not for authorization checking. This operation # may "fail open" without warning. @@ -1154,6 +1156,9 @@ module Google # Requests for policies with any conditional bindings must specify version 3. # Policies without any conditional bindings may specify any valid value 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). # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1282,7 +1287,7 @@ module Google # Sets the access control policy on the specified resource. Replaces any # existing policy. - # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED + # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. # @param [String] resource # REQUIRED: The resource for which the policy is being specified. # See the operation documentation for the appropriate value for this field. @@ -1318,7 +1323,7 @@ module Google # Returns permissions that a caller has on the specified resource. # If the resource does not exist, this will return an empty set of - # permissions, not a NOT_FOUND error. + # permissions, not a `NOT_FOUND` error. # Note: This operation is designed to be used for building permission-aware # UIs and command-line tools, not for authorization checking. This operation # may "fail open" without warning. diff --git a/generated/google/apis/servicecontrol_v1.rb b/generated/google/apis/servicecontrol_v1.rb index 99a03c6ce..d5c9e8db2 100644 --- a/generated/google/apis/servicecontrol_v1.rb +++ b/generated/google/apis/servicecontrol_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-control/ module ServicecontrolV1 VERSION = 'V1' - REVISION = '20200410' + REVISION = '20200511' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/servicecontrol_v1/classes.rb b/generated/google/apis/servicecontrol_v1/classes.rb index e46e79dd5..1c5e5d701 100644 --- a/generated/google/apis/servicecontrol_v1/classes.rb +++ b/generated/google/apis/servicecontrol_v1/classes.rb @@ -536,9 +536,9 @@ module Google # Subject to whom this error applies. See the specific code enum for more # details on this field. For example: - # - “project:” - # - “folder:” - # - “organization:” + # - "project:" + # - "folder:" + # - "organization:" # Corresponds to the JSON property `subject` # @return [String] attr_accessor :subject