google-api-client 0.19.7 → 0.19.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +54 -8
- data/generated/google/apis/androidmanagement_v1/representations.rb +6 -0
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +8 -7
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +18 -16
- data/generated/google/apis/appengine_v1/service.rb +5 -5
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +25 -16
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta/service.rb +5 -5
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta4/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +42 -5
- data/generated/google/apis/bigquery_v2/representations.rb +18 -2
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +128 -59
- data/generated/google/apis/cloudiot_v1/representations.rb +31 -18
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +40 -14
- data/generated/google/apis/compute_alpha/representations.rb +5 -1
- data/generated/google/apis/compute_alpha/service.rb +131 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +67 -10
- data/generated/google/apis/compute_beta/representations.rb +17 -0
- data/generated/google/apis/compute_beta/service.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +6 -5
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +44 -0
- data/generated/google/apis/container_v1beta1/representations.rb +17 -0
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/service.rb +3 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +4 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +102 -0
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +49 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +4 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -10
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +583 -0
- data/generated/google/apis/dlp_v2beta2/representations.rb +258 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +181 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -0
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -3
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +5 -3
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +13 -13
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -142
- data/generated/google/apis/ml_v1/representations.rb +0 -26
- data/generated/google/apis/ml_v1/service.rb +3 -63
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +18 -17
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -1
- data/generated/google/apis/serviceusage_v1.rb +42 -0
- data/generated/google/apis/serviceusage_v1/classes.rb +3862 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1186 -0
- data/generated/google/apis/serviceusage_v1/service.rb +406 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +13 -0
- data/generated/google/apis/slides_v1/representations.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -6307,6 +6307,8 @@ module Google
|
|
6307
6307
|
|
6308
6308
|
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeAlpha::ServiceAccount, decorator: Google::Apis::ComputeAlpha::ServiceAccount::Representation
|
6309
6309
|
|
6310
|
+
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeAlpha::ShieldedVmConfig, decorator: Google::Apis::ComputeAlpha::ShieldedVmConfig::Representation
|
6311
|
+
|
6310
6312
|
property :tags, as: 'tags', class: Google::Apis::ComputeAlpha::Tags, decorator: Google::Apis::ComputeAlpha::Tags::Representation
|
6311
6313
|
|
6312
6314
|
end
|
@@ -6521,6 +6523,7 @@ module Google
|
|
6521
6523
|
property :creation_timestamp, as: 'creationTimestamp'
|
6522
6524
|
property :customer_router_ip_address, as: 'customerRouterIpAddress'
|
6523
6525
|
property :description, as: 'description'
|
6526
|
+
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
|
6524
6527
|
property :google_reference_id, as: 'googleReferenceId'
|
6525
6528
|
property :id, :numeric_string => true, as: 'id'
|
6526
6529
|
property :interconnect, as: 'interconnect'
|
@@ -8766,7 +8769,7 @@ module Google
|
|
8766
8769
|
property :certificate, as: 'certificate'
|
8767
8770
|
property :creation_timestamp, as: 'creationTimestamp'
|
8768
8771
|
property :description, as: 'description'
|
8769
|
-
property :
|
8772
|
+
property :expire_time, as: 'expireTime'
|
8770
8773
|
property :id, :numeric_string => true, as: 'id'
|
8771
8774
|
property :kind, as: 'kind'
|
8772
8775
|
property :managed, as: 'managed', class: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate, decorator: Google::Apis::ComputeAlpha::SslCertificateManagedSslCertificate::Representation
|
@@ -8943,6 +8946,7 @@ module Google
|
|
8943
8946
|
property :creation_timestamp, as: 'creationTimestamp'
|
8944
8947
|
property :description, as: 'description'
|
8945
8948
|
property :enable_flow_logs, as: 'enableFlowLogs'
|
8949
|
+
property :enable_private_v6_access, as: 'enablePrivateV6Access'
|
8946
8950
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
8947
8951
|
property :gateway_address, as: 'gatewayAddress'
|
8948
8952
|
property :id, :numeric_string => true, as: 'id'
|
@@ -14853,6 +14853,137 @@ module Google
|
|
14853
14853
|
execute_or_queue_command(command, &block)
|
14854
14854
|
end
|
14855
14855
|
|
14856
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
14857
|
+
# or resource exists.
|
14858
|
+
# @param [String] project
|
14859
|
+
# Project ID for this request.
|
14860
|
+
# @param [String] zone
|
14861
|
+
# The name of the zone for this request.
|
14862
|
+
# @param [String] resource
|
14863
|
+
# Name of the resource for this request.
|
14864
|
+
# @param [String] fields
|
14865
|
+
# Selector specifying which fields to include in a partial response.
|
14866
|
+
# @param [String] quota_user
|
14867
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14868
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14869
|
+
# Overrides userIp if both are provided.
|
14870
|
+
# @param [String] user_ip
|
14871
|
+
# IP address of the site where the request originates. Use this if you want to
|
14872
|
+
# enforce per-user limits.
|
14873
|
+
# @param [Google::Apis::RequestOptions] options
|
14874
|
+
# Request-specific options
|
14875
|
+
#
|
14876
|
+
# @yield [result, err] Result & error if block supplied
|
14877
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
14878
|
+
# @yieldparam err [StandardError] error object if request failed
|
14879
|
+
#
|
14880
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
14881
|
+
#
|
14882
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14883
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14884
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14885
|
+
def get_node_group_iam_policy(project, zone, resource, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14886
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/nodeGroups/{resource}/getIamPolicy', options)
|
14887
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
14888
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
14889
|
+
command.params['project'] = project unless project.nil?
|
14890
|
+
command.params['zone'] = zone unless zone.nil?
|
14891
|
+
command.params['resource'] = resource unless resource.nil?
|
14892
|
+
command.query['fields'] = fields unless fields.nil?
|
14893
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14894
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14895
|
+
execute_or_queue_command(command, &block)
|
14896
|
+
end
|
14897
|
+
|
14898
|
+
# Sets the access control policy on the specified resource. Replaces any
|
14899
|
+
# existing policy.
|
14900
|
+
# @param [String] project
|
14901
|
+
# Project ID for this request.
|
14902
|
+
# @param [String] zone
|
14903
|
+
# The name of the zone for this request.
|
14904
|
+
# @param [String] resource
|
14905
|
+
# Name of the resource for this request.
|
14906
|
+
# @param [Google::Apis::ComputeAlpha::Policy] policy_object
|
14907
|
+
# @param [String] fields
|
14908
|
+
# Selector specifying which fields to include in a partial response.
|
14909
|
+
# @param [String] quota_user
|
14910
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14911
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14912
|
+
# Overrides userIp if both are provided.
|
14913
|
+
# @param [String] user_ip
|
14914
|
+
# IP address of the site where the request originates. Use this if you want to
|
14915
|
+
# enforce per-user limits.
|
14916
|
+
# @param [Google::Apis::RequestOptions] options
|
14917
|
+
# Request-specific options
|
14918
|
+
#
|
14919
|
+
# @yield [result, err] Result & error if block supplied
|
14920
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
14921
|
+
# @yieldparam err [StandardError] error object if request failed
|
14922
|
+
#
|
14923
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
14924
|
+
#
|
14925
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14926
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14927
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14928
|
+
def set_node_group_iam_policy(project, zone, resource, policy_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14929
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/setIamPolicy', options)
|
14930
|
+
command.request_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
14931
|
+
command.request_object = policy_object
|
14932
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
14933
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
14934
|
+
command.params['project'] = project unless project.nil?
|
14935
|
+
command.params['zone'] = zone unless zone.nil?
|
14936
|
+
command.params['resource'] = resource unless resource.nil?
|
14937
|
+
command.query['fields'] = fields unless fields.nil?
|
14938
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14939
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14940
|
+
execute_or_queue_command(command, &block)
|
14941
|
+
end
|
14942
|
+
|
14943
|
+
# Returns permissions that a caller has on the specified resource.
|
14944
|
+
# @param [String] project
|
14945
|
+
# Project ID for this request.
|
14946
|
+
# @param [String] zone
|
14947
|
+
# The name of the zone for this request.
|
14948
|
+
# @param [String] resource
|
14949
|
+
# Name of the resource for this request.
|
14950
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
14951
|
+
# @param [String] fields
|
14952
|
+
# Selector specifying which fields to include in a partial response.
|
14953
|
+
# @param [String] quota_user
|
14954
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
14955
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
14956
|
+
# Overrides userIp if both are provided.
|
14957
|
+
# @param [String] user_ip
|
14958
|
+
# IP address of the site where the request originates. Use this if you want to
|
14959
|
+
# enforce per-user limits.
|
14960
|
+
# @param [Google::Apis::RequestOptions] options
|
14961
|
+
# Request-specific options
|
14962
|
+
#
|
14963
|
+
# @yield [result, err] Result & error if block supplied
|
14964
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
14965
|
+
# @yieldparam err [StandardError] error object if request failed
|
14966
|
+
#
|
14967
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
14968
|
+
#
|
14969
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14970
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14971
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14972
|
+
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)
|
14973
|
+
command = make_simple_command(:post, '{project}/zones/{zone}/nodeGroups/{resource}/testIamPermissions', options)
|
14974
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
14975
|
+
command.request_object = test_permissions_request_object
|
14976
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
14977
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
14978
|
+
command.params['project'] = project unless project.nil?
|
14979
|
+
command.params['zone'] = zone unless zone.nil?
|
14980
|
+
command.params['resource'] = resource unless resource.nil?
|
14981
|
+
command.query['fields'] = fields unless fields.nil?
|
14982
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14983
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14984
|
+
execute_or_queue_command(command, &block)
|
14985
|
+
end
|
14986
|
+
|
14856
14987
|
# Gets the access control policy for a resource. May be empty if no such policy
|
14857
14988
|
# or resource exists.
|
14858
14989
|
# @param [String] project
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20180123'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -476,6 +476,17 @@ module Google
|
|
476
476
|
# @return [String]
|
477
477
|
attr_accessor :nat_ip
|
478
478
|
|
479
|
+
# This signifies the networking tier used for configuring this access
|
480
|
+
# configuration and can only take the following values: PREMIUM, STANDARD.
|
481
|
+
# If an AccessConfig is specified without a valid external IP address, an
|
482
|
+
# ephemeral IP will be created with this networkTier.
|
483
|
+
# If an AccessConfig with a valid external IP address is specified, it must
|
484
|
+
# match that of the networkTier associated with the Address resource owning that
|
485
|
+
# IP.
|
486
|
+
# Corresponds to the JSON property `networkTier`
|
487
|
+
# @return [String]
|
488
|
+
attr_accessor :network_tier
|
489
|
+
|
479
490
|
# The DNS domain name for the public PTR record. This field can only be set when
|
480
491
|
# the set_public_ptr field is enabled.
|
481
492
|
# Corresponds to the JSON property `publicPtrDomainName`
|
@@ -503,6 +514,7 @@ module Google
|
|
503
514
|
@kind = args[:kind] if args.key?(:kind)
|
504
515
|
@name = args[:name] if args.key?(:name)
|
505
516
|
@nat_ip = args[:nat_ip] if args.key?(:nat_ip)
|
517
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
506
518
|
@public_ptr_domain_name = args[:public_ptr_domain_name] if args.key?(:public_ptr_domain_name)
|
507
519
|
@set_public_ptr = args[:set_public_ptr] if args.key?(:set_public_ptr)
|
508
520
|
@type = args[:type] if args.key?(:type)
|
@@ -582,6 +594,13 @@ module Google
|
|
582
594
|
# @return [String]
|
583
595
|
attr_accessor :name
|
584
596
|
|
597
|
+
# This signifies the networking tier used for configuring this Address and can
|
598
|
+
# only take the following values: PREMIUM , STANDARD.
|
599
|
+
# If this field is not specified, it is assumed to be PREMIUM.
|
600
|
+
# Corresponds to the JSON property `networkTier`
|
601
|
+
# @return [String]
|
602
|
+
attr_accessor :network_tier
|
603
|
+
|
585
604
|
# [Output Only] URL of the region where the regional address resides. This field
|
586
605
|
# is not applicable to global addresses. You must specify this field as part of
|
587
606
|
# the HTTP request URL. You cannot set this field in the request body.
|
@@ -631,6 +650,7 @@ module Google
|
|
631
650
|
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
632
651
|
@labels = args[:labels] if args.key?(:labels)
|
633
652
|
@name = args[:name] if args.key?(:name)
|
653
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
634
654
|
@region = args[:region] if args.key?(:region)
|
635
655
|
@self_link = args[:self_link] if args.key?(:self_link)
|
636
656
|
@status = args[:status] if args.key?(:status)
|
@@ -1212,7 +1232,7 @@ module Google
|
|
1212
1232
|
# If there are AuditConfigs for both `allServices` and a specific service, the
|
1213
1233
|
# union of the two AuditConfigs is used for that service: the log_types
|
1214
1234
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
1215
|
-
#
|
1235
|
+
# AuditLogConfig are exempted.
|
1216
1236
|
# Example Policy with multiple AuditConfigs:
|
1217
1237
|
# ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
|
1218
1238
|
# log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
|
@@ -1222,8 +1242,7 @@ module Google
|
|
1222
1242
|
# ] `
|
1223
1243
|
# For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
1224
1244
|
# logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
|
1225
|
-
# com from DATA_WRITE logging.
|
1226
|
-
# or IAM_AUDIT_CONFIG.
|
1245
|
+
# com from DATA_WRITE logging.
|
1227
1246
|
class AuditConfig
|
1228
1247
|
include Google::Apis::Core::Hashable
|
1229
1248
|
|
@@ -3826,7 +3845,8 @@ module Google
|
|
3826
3845
|
attr_accessor :storage_type
|
3827
3846
|
|
3828
3847
|
# URL of the disk type resource describing which disk type to use to create the
|
3829
|
-
# disk. Provide this when creating the disk.
|
3848
|
+
# disk. Provide this when creating the disk. For example: project/zones/zone/
|
3849
|
+
# diskTypes/pd-standard or pd-ssd
|
3830
3850
|
# Corresponds to the JSON property `type`
|
3831
3851
|
# @return [String]
|
3832
3852
|
attr_accessor :type
|
@@ -5303,6 +5323,16 @@ module Google
|
|
5303
5323
|
# @return [String]
|
5304
5324
|
attr_accessor :network
|
5305
5325
|
|
5326
|
+
# This signifies the networking tier used for configuring this load balancer and
|
5327
|
+
# can only take the following values: PREMIUM , STANDARD.
|
5328
|
+
# For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For
|
5329
|
+
# GlobalForwardingRule, the valid value is PREMIUM.
|
5330
|
+
# If this field is not specified, it is assumed to be PREMIUM. If IPAddress is
|
5331
|
+
# specified, this value must be equal to the networkTier of the Address.
|
5332
|
+
# Corresponds to the JSON property `networkTier`
|
5333
|
+
# @return [String]
|
5334
|
+
attr_accessor :network_tier
|
5335
|
+
|
5306
5336
|
# This field is used along with the target field for TargetHttpProxy,
|
5307
5337
|
# TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
|
5308
5338
|
# TargetInstance.
|
@@ -5312,10 +5342,10 @@ module Google
|
|
5312
5342
|
# Some types of forwarding target have constraints on the acceptable ports:
|
5313
5343
|
# - TargetHttpProxy: 80, 8080
|
5314
5344
|
# - TargetHttpsProxy: 443
|
5315
|
-
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
5316
|
-
# 5222
|
5317
|
-
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995,
|
5318
|
-
# 5222
|
5345
|
+
# - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
5346
|
+
# 1883, 5222
|
5347
|
+
# - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1688,
|
5348
|
+
# 1883, 5222
|
5319
5349
|
# - TargetVpnGateway: 500, 4500
|
5320
5350
|
# Corresponds to the JSON property `portRange`
|
5321
5351
|
# @return [String]
|
@@ -5401,6 +5431,7 @@ module Google
|
|
5401
5431
|
@load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
|
5402
5432
|
@name = args[:name] if args.key?(:name)
|
5403
5433
|
@network = args[:network] if args.key?(:network)
|
5434
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
5404
5435
|
@port_range = args[:port_range] if args.key?(:port_range)
|
5405
5436
|
@ports = args[:ports] if args.key?(:ports)
|
5406
5437
|
@region = args[:region] if args.key?(:region)
|
@@ -13295,8 +13326,7 @@ module Google
|
|
13295
13326
|
class Policy
|
13296
13327
|
include Google::Apis::Core::Hashable
|
13297
13328
|
|
13298
|
-
# Specifies cloud audit logging configuration for this policy.
|
13299
|
-
# only visible as GOOGLE_INTERNAL or IAM_AUDIT_CONFIG.
|
13329
|
+
# Specifies cloud audit logging configuration for this policy.
|
13300
13330
|
# Corresponds to the JSON property `auditConfigs`
|
13301
13331
|
# @return [Array<Google::Apis::ComputeBeta::AuditConfig>]
|
13302
13332
|
attr_accessor :audit_configs
|
@@ -13373,6 +13403,13 @@ module Google
|
|
13373
13403
|
# @return [String]
|
13374
13404
|
attr_accessor :creation_timestamp
|
13375
13405
|
|
13406
|
+
# This signifies the default network tier used for configuring resources of the
|
13407
|
+
# project and can only take the following values: PREMIUM, STANDARD. Initially
|
13408
|
+
# the default network tier is PREMIUM.
|
13409
|
+
# Corresponds to the JSON property `defaultNetworkTier`
|
13410
|
+
# @return [String]
|
13411
|
+
attr_accessor :default_network_tier
|
13412
|
+
|
13376
13413
|
# [Output Only] Default service account used by VMs running in this project.
|
13377
13414
|
# Corresponds to the JSON property `defaultServiceAccount`
|
13378
13415
|
# @return [String]
|
@@ -13436,6 +13473,7 @@ module Google
|
|
13436
13473
|
def update!(**args)
|
13437
13474
|
@common_instance_metadata = args[:common_instance_metadata] if args.key?(:common_instance_metadata)
|
13438
13475
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
13476
|
+
@default_network_tier = args[:default_network_tier] if args.key?(:default_network_tier)
|
13439
13477
|
@default_service_account = args[:default_service_account] if args.key?(:default_service_account)
|
13440
13478
|
@description = args[:description] if args.key?(:description)
|
13441
13479
|
@enabled_features = args[:enabled_features] if args.key?(:enabled_features)
|
@@ -13545,6 +13583,25 @@ module Google
|
|
13545
13583
|
end
|
13546
13584
|
end
|
13547
13585
|
|
13586
|
+
#
|
13587
|
+
class ProjectsSetDefaultNetworkTierRequest
|
13588
|
+
include Google::Apis::Core::Hashable
|
13589
|
+
|
13590
|
+
# Default network tier to be set.
|
13591
|
+
# Corresponds to the JSON property `networkTier`
|
13592
|
+
# @return [String]
|
13593
|
+
attr_accessor :network_tier
|
13594
|
+
|
13595
|
+
def initialize(**args)
|
13596
|
+
update!(**args)
|
13597
|
+
end
|
13598
|
+
|
13599
|
+
# Update properties of this object
|
13600
|
+
def update!(**args)
|
13601
|
+
@network_tier = args[:network_tier] if args.key?(:network_tier)
|
13602
|
+
end
|
13603
|
+
end
|
13604
|
+
|
13548
13605
|
# A quotas entry.
|
13549
13606
|
class Quota
|
13550
13607
|
include Google::Apis::Core::Hashable
|
@@ -1798,6 +1798,12 @@ module Google
|
|
1798
1798
|
include Google::Apis::Core::JsonObjectSupport
|
1799
1799
|
end
|
1800
1800
|
|
1801
|
+
class ProjectsSetDefaultNetworkTierRequest
|
1802
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
|
+
|
1804
|
+
include Google::Apis::Core::JsonObjectSupport
|
1805
|
+
end
|
1806
|
+
|
1801
1807
|
class Quota
|
1802
1808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
1809
|
|
@@ -3072,6 +3078,7 @@ module Google
|
|
3072
3078
|
property :kind, as: 'kind'
|
3073
3079
|
property :name, as: 'name'
|
3074
3080
|
property :nat_ip, as: 'natIP'
|
3081
|
+
property :network_tier, as: 'networkTier'
|
3075
3082
|
property :public_ptr_domain_name, as: 'publicPtrDomainName'
|
3076
3083
|
property :set_public_ptr, as: 'setPublicPtr'
|
3077
3084
|
property :type, as: 'type'
|
@@ -3091,6 +3098,7 @@ module Google
|
|
3091
3098
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
3092
3099
|
hash :labels, as: 'labels'
|
3093
3100
|
property :name, as: 'name'
|
3101
|
+
property :network_tier, as: 'networkTier'
|
3094
3102
|
property :region, as: 'region'
|
3095
3103
|
property :self_link, as: 'selfLink'
|
3096
3104
|
property :status, as: 'status'
|
@@ -4219,6 +4227,7 @@ module Google
|
|
4219
4227
|
property :load_balancing_scheme, as: 'loadBalancingScheme'
|
4220
4228
|
property :name, as: 'name'
|
4221
4229
|
property :network, as: 'network'
|
4230
|
+
property :network_tier, as: 'networkTier'
|
4222
4231
|
property :port_range, as: 'portRange'
|
4223
4232
|
collection :ports, as: 'ports'
|
4224
4233
|
property :region, as: 'region'
|
@@ -6228,6 +6237,7 @@ module Google
|
|
6228
6237
|
property :common_instance_metadata, as: 'commonInstanceMetadata', class: Google::Apis::ComputeBeta::Metadata, decorator: Google::Apis::ComputeBeta::Metadata::Representation
|
6229
6238
|
|
6230
6239
|
property :creation_timestamp, as: 'creationTimestamp'
|
6240
|
+
property :default_network_tier, as: 'defaultNetworkTier'
|
6231
6241
|
property :default_service_account, as: 'defaultServiceAccount'
|
6232
6242
|
property :description, as: 'description'
|
6233
6243
|
collection :enabled_features, as: 'enabledFeatures'
|
@@ -6276,6 +6286,13 @@ module Google
|
|
6276
6286
|
end
|
6277
6287
|
end
|
6278
6288
|
|
6289
|
+
class ProjectsSetDefaultNetworkTierRequest
|
6290
|
+
# @private
|
6291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6292
|
+
property :network_tier, as: 'networkTier'
|
6293
|
+
end
|
6294
|
+
end
|
6295
|
+
|
6279
6296
|
class Quota
|
6280
6297
|
# @private
|
6281
6298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11984,6 +11984,58 @@ module Google
|
|
11984
11984
|
execute_or_queue_command(command, &block)
|
11985
11985
|
end
|
11986
11986
|
|
11987
|
+
# Sets the default network tier of the project. The default network tier is used
|
11988
|
+
# when an address/forwardingRule/instance is created without specifying the
|
11989
|
+
# network tier field.
|
11990
|
+
# @param [String] project
|
11991
|
+
# Project ID for this request.
|
11992
|
+
# @param [Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest] projects_set_default_network_tier_request_object
|
11993
|
+
# @param [String] request_id
|
11994
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
11995
|
+
# that if you must retry your request, the server will know to ignore the
|
11996
|
+
# request if it has already been completed.
|
11997
|
+
# For example, consider a situation where you make an initial request and the
|
11998
|
+
# request times out. If you make the request again with the same request ID, the
|
11999
|
+
# server can check if original operation with the same request ID was received,
|
12000
|
+
# and if so, will ignore the second request. This prevents clients from
|
12001
|
+
# accidentally creating duplicate commitments.
|
12002
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
12003
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
12004
|
+
# @param [String] fields
|
12005
|
+
# Selector specifying which fields to include in a partial response.
|
12006
|
+
# @param [String] quota_user
|
12007
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
12008
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
12009
|
+
# Overrides userIp if both are provided.
|
12010
|
+
# @param [String] user_ip
|
12011
|
+
# IP address of the site where the request originates. Use this if you want to
|
12012
|
+
# enforce per-user limits.
|
12013
|
+
# @param [Google::Apis::RequestOptions] options
|
12014
|
+
# Request-specific options
|
12015
|
+
#
|
12016
|
+
# @yield [result, err] Result & error if block supplied
|
12017
|
+
# @yieldparam result [Google::Apis::ComputeBeta::Operation] parsed result object
|
12018
|
+
# @yieldparam err [StandardError] error object if request failed
|
12019
|
+
#
|
12020
|
+
# @return [Google::Apis::ComputeBeta::Operation]
|
12021
|
+
#
|
12022
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
12023
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
12024
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
12025
|
+
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)
|
12026
|
+
command = make_simple_command(:post, '{project}/setDefaultNetworkTier', options)
|
12027
|
+
command.request_representation = Google::Apis::ComputeBeta::ProjectsSetDefaultNetworkTierRequest::Representation
|
12028
|
+
command.request_object = projects_set_default_network_tier_request_object
|
12029
|
+
command.response_representation = Google::Apis::ComputeBeta::Operation::Representation
|
12030
|
+
command.response_class = Google::Apis::ComputeBeta::Operation
|
12031
|
+
command.params['project'] = project unless project.nil?
|
12032
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
12033
|
+
command.query['fields'] = fields unless fields.nil?
|
12034
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
12035
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
12036
|
+
execute_or_queue_command(command, &block)
|
12037
|
+
end
|
12038
|
+
|
11987
12039
|
# Enables the usage export feature and sets the usage export bucket where
|
11988
12040
|
# reports are stored. If you provide an empty request body using this method,
|
11989
12041
|
# the usage export feature will be disabled.
|