google-api-client 0.46.1 → 0.46.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.gitignore +2 -0
- data/CHANGELOG.md +58 -0
- data/api_list_config.yaml +8 -0
- data/bin/generate-api +77 -15
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
- data/generated/google/apis/admin_directory_v1/service.rb +72 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +29 -29
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +6 -6
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +8 -9
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +7 -7
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +80 -5
- data/generated/google/apis/bigquery_v2/representations.rb +33 -0
- data/generated/google/apis/bigquery_v2/service.rb +46 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +21 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +22 -10
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +22 -10
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +6 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +30 -30
- data/generated/google/apis/displayvideo_v1/service.rb +8 -8
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +181 -0
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -0
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +3 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +4 -4
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -6
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/service.rb +20 -20
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +80 -9
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +81 -9
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +33 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +8 -8
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +45 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +33 -33
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -4
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +7 -6
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +8 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +17 -18
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +12 -11
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +333 -0
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +151 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +13 -3
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/admin-sdk/licensing/
|
27
27
|
module LicensingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201010'
|
30
30
|
|
31
31
|
# View and manage G Suite licenses for your domain
|
32
32
|
AUTH_APPS_LICENSING = 'https://www.googleapis.com/auth/apps.licensing'
|
@@ -51,14 +51,14 @@ module Google
|
|
51
51
|
# accounts. Caller needs to provide their manager customer id and the associated
|
52
52
|
# auth credential that allows them read permissions on their linked accounts.
|
53
53
|
# @param [Fixnum] end_date_day
|
54
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
55
|
-
#
|
56
|
-
# significant.
|
54
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
55
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
57
56
|
# @param [Fixnum] end_date_month
|
58
|
-
# Month of year. Must be from 1 to 12, or 0
|
57
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
59
58
|
# and day.
|
60
59
|
# @param [Fixnum] end_date_year
|
61
|
-
# Year of date. Must be from 1 to 9999, or 0
|
60
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
61
|
+
# year.
|
62
62
|
# @param [Fixnum] page_size
|
63
63
|
# The maximum number of accounts to return. If the page size is unset, page size
|
64
64
|
# will default to 1000. Maximum page_size is 10000. Optional.
|
@@ -73,14 +73,14 @@ module Google
|
|
73
73
|
# ----------------------------------| | manager_customer_id:123 | Get Account
|
74
74
|
# Report for Manager with id 123. | Required.
|
75
75
|
# @param [Fixnum] start_date_day
|
76
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
77
|
-
#
|
78
|
-
# significant.
|
76
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
77
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
79
78
|
# @param [Fixnum] start_date_month
|
80
|
-
# Month of year. Must be from 1 to 12, or 0
|
79
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
81
80
|
# and day.
|
82
81
|
# @param [Fixnum] start_date_year
|
83
|
-
# Year of date. Must be from 1 to 9999, or 0
|
82
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
83
|
+
# year.
|
84
84
|
# @param [String] fields
|
85
85
|
# Selector specifying which fields to include in a partial response.
|
86
86
|
# @param [String] quota_user
|
@@ -121,14 +121,14 @@ module Google
|
|
121
121
|
# associated auth credential that allows them read permissions on their linked
|
122
122
|
# accounts.
|
123
123
|
# @param [Fixnum] end_date_day
|
124
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
125
|
-
#
|
126
|
-
# significant.
|
124
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
125
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
127
126
|
# @param [Fixnum] end_date_month
|
128
|
-
# Month of year. Must be from 1 to 12, or 0
|
127
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
129
128
|
# and day.
|
130
129
|
# @param [Fixnum] end_date_year
|
131
|
-
# Year of date. Must be from 1 to 9999, or 0
|
130
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
131
|
+
# year.
|
132
132
|
# @param [Fixnum] page_size
|
133
133
|
# The maximum number of accounts to return. If the page size is unset, page size
|
134
134
|
# will default to 1000. Maximum page_size is 10000. Optional.
|
@@ -144,14 +144,14 @@ module Google
|
|
144
144
|
# ----------------------------------| | manager_customer_id:123 | Get Detailed
|
145
145
|
# Lead Report for Manager with id | | | 123. | Required.
|
146
146
|
# @param [Fixnum] start_date_day
|
147
|
-
# Day of month. Must be from 1 to 31 and valid for the year and month, or 0
|
148
|
-
#
|
149
|
-
# significant.
|
147
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
148
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
150
149
|
# @param [Fixnum] start_date_month
|
151
|
-
# Month of year. Must be from 1 to 12, or 0
|
150
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
152
151
|
# and day.
|
153
152
|
# @param [Fixnum] start_date_year
|
154
|
-
# Year of date. Must be from 1 to 9999, or 0
|
153
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
154
|
+
# year.
|
155
155
|
# @param [String] fields
|
156
156
|
# Selector specifying which fields to include in a partial response.
|
157
157
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/managed-microsoft-ad/
|
27
27
|
module ManagedidentitiesV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201007'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -514,7 +514,7 @@ module Google
|
|
514
514
|
attr_accessor :maintenance_policy_names
|
515
515
|
|
516
516
|
# The MaintenanceSchedule contains the scheduling information of published
|
517
|
-
# maintenance schedule.
|
517
|
+
# maintenance schedule with same key as software_versions.
|
518
518
|
# Corresponds to the JSON property `maintenanceSchedules`
|
519
519
|
# @return [Hash<String,Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
520
520
|
attr_accessor :maintenance_schedules
|
@@ -83,8 +83,6 @@ module Google
|
|
83
83
|
# The resource that owns the locations collection, if applicable.
|
84
84
|
# @param [String] filter
|
85
85
|
# The standard list filter.
|
86
|
-
# @param [Boolean] include_unrevealed_locations
|
87
|
-
# If true, the returned list will include locations which are not yet revealed.
|
88
86
|
# @param [Fixnum] page_size
|
89
87
|
# The standard list page size.
|
90
88
|
# @param [String] page_token
|
@@ -106,13 +104,12 @@ module Google
|
|
106
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
-
def list_project_locations(name, filter: nil,
|
107
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
108
|
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
111
109
|
command.response_representation = Google::Apis::ManagedidentitiesV1::ListLocationsResponse::Representation
|
112
110
|
command.response_class = Google::Apis::ManagedidentitiesV1::ListLocationsResponse
|
113
111
|
command.params['name'] = name unless name.nil?
|
114
112
|
command.query['filter'] = filter unless filter.nil?
|
115
|
-
command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
|
116
113
|
command.query['pageSize'] = page_size unless page_size.nil?
|
117
114
|
command.query['pageToken'] = page_token unless page_token.nil?
|
118
115
|
command.query['fields'] = fields unless fields.nil?
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/managed-microsoft-ad/
|
27
27
|
module ManagedidentitiesV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20201007'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -161,13 +161,6 @@ module Google
|
|
161
161
|
class Domain
|
162
162
|
include Google::Apis::Core::Hashable
|
163
163
|
|
164
|
-
# Optional. Configuration for audit logs. True if audit logs are enabled, else
|
165
|
-
# false. Default is audit logs disabled.
|
166
|
-
# Corresponds to the JSON property `auditLogsEnabled`
|
167
|
-
# @return [Boolean]
|
168
|
-
attr_accessor :audit_logs_enabled
|
169
|
-
alias_method :audit_logs_enabled?, :audit_logs_enabled
|
170
|
-
|
171
164
|
# Optional. The full names of the Google Compute Engine [networks](/compute/docs/
|
172
165
|
# networks-and-firewalls#networks) to which the instance is connected. Network
|
173
166
|
# can be added using UpdateDomain later. Domain is only available on network
|
@@ -250,7 +243,6 @@ module Google
|
|
250
243
|
|
251
244
|
# Update properties of this object
|
252
245
|
def update!(**args)
|
253
|
-
@audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled)
|
254
246
|
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
|
255
247
|
@create_time = args[:create_time] if args.key?(:create_time)
|
256
248
|
@fqdn = args[:fqdn] if args.key?(:fqdn)
|
@@ -529,7 +521,7 @@ module Google
|
|
529
521
|
attr_accessor :maintenance_policy_names
|
530
522
|
|
531
523
|
# The MaintenanceSchedule contains the scheduling information of published
|
532
|
-
# maintenance schedule.
|
524
|
+
# maintenance schedule with same key as software_versions.
|
533
525
|
# Corresponds to the JSON property `maintenanceSchedules`
|
534
526
|
# @return [Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
|
535
527
|
attr_accessor :maintenance_schedules
|
@@ -964,6 +956,39 @@ module Google
|
|
964
956
|
end
|
965
957
|
end
|
966
958
|
|
959
|
+
# ListSQLIntegrationsResponse is the response message for ListSQLIntegrations
|
960
|
+
# method.
|
961
|
+
class ListSqlIntegrationsResponse
|
962
|
+
include Google::Apis::Core::Hashable
|
963
|
+
|
964
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
965
|
+
# results in the list.
|
966
|
+
# Corresponds to the JSON property `nextPageToken`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :next_page_token
|
969
|
+
|
970
|
+
# A list of SQLIntegrations of a domain.
|
971
|
+
# Corresponds to the JSON property `sqlIntegrations`
|
972
|
+
# @return [Array<Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration>]
|
973
|
+
attr_accessor :sql_integrations
|
974
|
+
|
975
|
+
# A list of locations that could not be reached.
|
976
|
+
# Corresponds to the JSON property `unreachable`
|
977
|
+
# @return [Array<String>]
|
978
|
+
attr_accessor :unreachable
|
979
|
+
|
980
|
+
def initialize(**args)
|
981
|
+
update!(**args)
|
982
|
+
end
|
983
|
+
|
984
|
+
# Update properties of this object
|
985
|
+
def update!(**args)
|
986
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
987
|
+
@sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations)
|
988
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
989
|
+
end
|
990
|
+
end
|
991
|
+
|
967
992
|
# A resource that represents Google Cloud Platform location.
|
968
993
|
class Location
|
969
994
|
include Google::Apis::Core::Hashable
|
@@ -1270,6 +1295,52 @@ module Google
|
|
1270
1295
|
end
|
1271
1296
|
end
|
1272
1297
|
|
1298
|
+
# Represents the SQL instance integrated with AD.
|
1299
|
+
class SqlIntegration
|
1300
|
+
include Google::Apis::Core::Hashable
|
1301
|
+
|
1302
|
+
# Output only. The time the instance was created. Synthetic field is populated
|
1303
|
+
# automatically by CCFE. go/ccfe-synthetic-field-user-guide
|
1304
|
+
# Corresponds to the JSON property `createTime`
|
1305
|
+
# @return [String]
|
1306
|
+
attr_accessor :create_time
|
1307
|
+
|
1308
|
+
# The unique name of the sql integration in the form of `projects/`project_id`/
|
1309
|
+
# locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration``
|
1310
|
+
# Corresponds to the JSON property `name`
|
1311
|
+
# @return [String]
|
1312
|
+
attr_accessor :name
|
1313
|
+
|
1314
|
+
# The full resource name of an integrated sql instance
|
1315
|
+
# Corresponds to the JSON property `sqlInstance`
|
1316
|
+
# @return [String]
|
1317
|
+
attr_accessor :sql_instance
|
1318
|
+
|
1319
|
+
# Output only. The current state of the managed OU.
|
1320
|
+
# Corresponds to the JSON property `state`
|
1321
|
+
# @return [String]
|
1322
|
+
attr_accessor :state
|
1323
|
+
|
1324
|
+
# Output only. Last update time. Synthetic field is populated automatically by
|
1325
|
+
# CCFE.
|
1326
|
+
# Corresponds to the JSON property `updateTime`
|
1327
|
+
# @return [String]
|
1328
|
+
attr_accessor :update_time
|
1329
|
+
|
1330
|
+
def initialize(**args)
|
1331
|
+
update!(**args)
|
1332
|
+
end
|
1333
|
+
|
1334
|
+
# Update properties of this object
|
1335
|
+
def update!(**args)
|
1336
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1337
|
+
@name = args[:name] if args.key?(:name)
|
1338
|
+
@sql_instance = args[:sql_instance] if args.key?(:sql_instance)
|
1339
|
+
@state = args[:state] if args.key?(:state)
|
1340
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1341
|
+
end
|
1342
|
+
end
|
1343
|
+
|
1273
1344
|
# Request message for `SetIamPolicy` method.
|
1274
1345
|
class SetIamPolicyRequest
|
1275
1346
|
include Google::Apis::Core::Hashable
|
@@ -148,6 +148,12 @@ module Google
|
|
148
148
|
include Google::Apis::Core::JsonObjectSupport
|
149
149
|
end
|
150
150
|
|
151
|
+
class ListSqlIntegrationsResponse
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
151
157
|
class Location
|
152
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
159
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class SqlIntegration
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class SetIamPolicyRequest
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -262,7 +274,6 @@ module Google
|
|
262
274
|
class Domain
|
263
275
|
# @private
|
264
276
|
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
-
property :audit_logs_enabled, as: 'auditLogsEnabled'
|
266
277
|
collection :authorized_networks, as: 'authorizedNetworks'
|
267
278
|
property :create_time, as: 'createTime'
|
268
279
|
property :fqdn, as: 'fqdn'
|
@@ -450,6 +461,16 @@ module Google
|
|
450
461
|
end
|
451
462
|
end
|
452
463
|
|
464
|
+
class ListSqlIntegrationsResponse
|
465
|
+
# @private
|
466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
467
|
+
property :next_page_token, as: 'nextPageToken'
|
468
|
+
collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration::Representation
|
469
|
+
|
470
|
+
collection :unreachable, as: 'unreachable'
|
471
|
+
end
|
472
|
+
end
|
473
|
+
|
453
474
|
class Location
|
454
475
|
# @private
|
455
476
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -517,6 +538,17 @@ module Google
|
|
517
538
|
end
|
518
539
|
end
|
519
540
|
|
541
|
+
class SqlIntegration
|
542
|
+
# @private
|
543
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
544
|
+
property :create_time, as: 'createTime'
|
545
|
+
property :name, as: 'name'
|
546
|
+
property :sql_instance, as: 'sqlInstance'
|
547
|
+
property :state, as: 'state'
|
548
|
+
property :update_time, as: 'updateTime'
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
520
552
|
class SetIamPolicyRequest
|
521
553
|
# @private
|
522
554
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -83,8 +83,6 @@ module Google
|
|
83
83
|
# The resource that owns the locations collection, if applicable.
|
84
84
|
# @param [String] filter
|
85
85
|
# The standard list filter.
|
86
|
-
# @param [Boolean] include_unrevealed_locations
|
87
|
-
# If true, the returned list will include locations which are not yet revealed.
|
88
86
|
# @param [Fixnum] page_size
|
89
87
|
# The standard list page size.
|
90
88
|
# @param [String] page_token
|
@@ -106,13 +104,12 @@ module Google
|
|
106
104
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
-
def list_project_locations(name, filter: nil,
|
107
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
108
|
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
|
111
109
|
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse::Representation
|
112
110
|
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListLocationsResponse
|
113
111
|
command.params['name'] = name unless name.nil?
|
114
112
|
command.query['filter'] = filter unless filter.nil?
|
115
|
-
command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil?
|
116
113
|
command.query['pageSize'] = page_size unless page_size.nil?
|
117
114
|
command.query['pageToken'] = page_token unless page_token.nil?
|
118
115
|
command.query['fields'] = fields unless fields.nil?
|
@@ -391,7 +388,7 @@ module Google
|
|
391
388
|
# @param [String] update_mask
|
392
389
|
# Mask of fields to update. At least one path must be supplied in this field.
|
393
390
|
# The elements of the repeated paths field may only include these fields from
|
394
|
-
# Domain: * `labels` * `locations` * `authorized_networks`
|
391
|
+
# Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled`
|
395
392
|
# @param [String] fields
|
396
393
|
# Selector specifying which fields to include in a partial response.
|
397
394
|
# @param [String] quota_user
|
@@ -599,6 +596,87 @@ module Google
|
|
599
596
|
execute_or_queue_command(command, &block)
|
600
597
|
end
|
601
598
|
|
599
|
+
# Gets details of a single sqlIntegration.
|
600
|
+
# @param [String] name
|
601
|
+
# Required. MangedOU resource name using the form: `projects/`project_id`/
|
602
|
+
# locations/global/domains/*/sqlIntegrations/`name``
|
603
|
+
# @param [String] fields
|
604
|
+
# Selector specifying which fields to include in a partial response.
|
605
|
+
# @param [String] quota_user
|
606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
608
|
+
# @param [Google::Apis::RequestOptions] options
|
609
|
+
# Request-specific options
|
610
|
+
#
|
611
|
+
# @yield [result, err] Result & error if block supplied
|
612
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration] parsed result object
|
613
|
+
# @yieldparam err [StandardError] error object if request failed
|
614
|
+
#
|
615
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration]
|
616
|
+
#
|
617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
620
|
+
def get_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block)
|
621
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
622
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration::Representation
|
623
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::SqlIntegration
|
624
|
+
command.params['name'] = name unless name.nil?
|
625
|
+
command.query['fields'] = fields unless fields.nil?
|
626
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
627
|
+
execute_or_queue_command(command, &block)
|
628
|
+
end
|
629
|
+
|
630
|
+
# Lists SQLIntegrations in a given domain.
|
631
|
+
# @param [String] parent
|
632
|
+
# Required. The resource name of the SqlIntegrations using the form: `projects/`
|
633
|
+
# project_id`/locations/global/domains/*`
|
634
|
+
# @param [String] filter
|
635
|
+
# Optional. Filter specifying constraints of a list operation. For example, `
|
636
|
+
# SqlIntegration.name="sql"`.
|
637
|
+
# @param [String] order_by
|
638
|
+
# Optional. Specifies the ordering of results following syntax at https://cloud.
|
639
|
+
# google.com/apis/design/design_patterns#sorting_order.
|
640
|
+
# @param [Fixnum] page_size
|
641
|
+
# Optional. The maximum number of items to return. If not specified, a default
|
642
|
+
# value of 1000 will be used by the service. Regardless of the page_size value,
|
643
|
+
# the response may include a partial list and a caller should only rely on
|
644
|
+
# response'ANIZATIONs next_page_token to determine if there are more instances
|
645
|
+
# left to be queried.
|
646
|
+
# @param [String] page_token
|
647
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
648
|
+
# any.
|
649
|
+
# @param [String] fields
|
650
|
+
# Selector specifying which fields to include in a partial response.
|
651
|
+
# @param [String] quota_user
|
652
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
653
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
654
|
+
# @param [Google::Apis::RequestOptions] options
|
655
|
+
# Request-specific options
|
656
|
+
#
|
657
|
+
# @yield [result, err] Result & error if block supplied
|
658
|
+
# @yieldparam result [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse] parsed result object
|
659
|
+
# @yieldparam err [StandardError] error object if request failed
|
660
|
+
#
|
661
|
+
# @return [Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse]
|
662
|
+
#
|
663
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
664
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
665
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
666
|
+
def list_project_location_global_domain_sql_integrations(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
667
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/sqlIntegrations', options)
|
668
|
+
command.response_representation = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse::Representation
|
669
|
+
command.response_class = Google::Apis::ManagedidentitiesV1alpha1::ListSqlIntegrationsResponse
|
670
|
+
command.params['parent'] = parent unless parent.nil?
|
671
|
+
command.query['filter'] = filter unless filter.nil?
|
672
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
673
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
674
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
675
|
+
command.query['fields'] = fields unless fields.nil?
|
676
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
677
|
+
execute_or_queue_command(command, &block)
|
678
|
+
end
|
679
|
+
|
602
680
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
603
681
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
604
682
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|