diff --git a/api_names_out.yaml b/api_names_out.yaml index 5da111f14..f63ac388d 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -112755,6 +112755,12 @@ "/managedidentities:v1beta1/ListOperationsResponse/nextPageToken": next_page_token "/managedidentities:v1beta1/ListOperationsResponse/operations": operations "/managedidentities:v1beta1/ListOperationsResponse/operations/operation": operation +"/managedidentities:v1beta1/ListSQLIntegrationsResponse": list_sql_integrations_response +"/managedidentities:v1beta1/ListSQLIntegrationsResponse/nextPageToken": next_page_token +"/managedidentities:v1beta1/ListSQLIntegrationsResponse/sqlIntegrations": sql_integrations +"/managedidentities:v1beta1/ListSQLIntegrationsResponse/sqlIntegrations/sql_integration": sql_integration +"/managedidentities:v1beta1/ListSQLIntegrationsResponse/unreachable": unreachable +"/managedidentities:v1beta1/ListSQLIntegrationsResponse/unreachable/unreachable": unreachable "/managedidentities:v1beta1/Location": location "/managedidentities:v1beta1/Location/displayName": display_name "/managedidentities:v1beta1/Location/labels": labels @@ -112791,6 +112797,12 @@ "/managedidentities:v1beta1/ResetAdminPasswordRequest": reset_admin_password_request "/managedidentities:v1beta1/ResetAdminPasswordResponse": reset_admin_password_response "/managedidentities:v1beta1/ResetAdminPasswordResponse/password": password +"/managedidentities:v1beta1/SQLIntegration": sql_integration +"/managedidentities:v1beta1/SQLIntegration/createTime": create_time +"/managedidentities:v1beta1/SQLIntegration/name": name +"/managedidentities:v1beta1/SQLIntegration/sqlInstance": sql_instance +"/managedidentities:v1beta1/SQLIntegration/state": state +"/managedidentities:v1beta1/SQLIntegration/updateTime": update_time "/managedidentities:v1beta1/SetIamPolicyRequest": set_iam_policy_request "/managedidentities:v1beta1/SetIamPolicyRequest/policy": policy "/managedidentities:v1beta1/Status": status @@ -112853,6 +112865,14 @@ "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.resetAdminPassword/name": name "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.setIamPolicy": set_domain_iam_policy "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.setIamPolicy/resource": resource +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.get": get_project_location_global_domain_sql_integration +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.get/name": name +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list": list_project_location_global_domain_sql_integrations +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/filter": filter +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/orderBy": order_by +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/pageSize": page_size +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/pageToken": page_token +"/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.sqlIntegrations.list/parent": parent "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.testIamPermissions": test_domain_iam_permissions "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.testIamPermissions/resource": resource "/managedidentities:v1beta1/managedidentities.projects.locations.global.domains.validateTrust": validate_domain_trust @@ -132220,6 +132240,19 @@ "/servicenetworking:v1/Connection/reservedPeeringRanges": reserved_peering_ranges "/servicenetworking:v1/Connection/reservedPeeringRanges/reserved_peering_range": reserved_peering_range "/servicenetworking:v1/Connection/service": service +"/servicenetworking:v1/ConsumerConfig": consumer_config +"/servicenetworking:v1/ConsumerConfig/consumerExportCustomRoutes": consumer_export_custom_routes +"/servicenetworking:v1/ConsumerConfig/consumerExportSubnetRoutesWithPublicIp": consumer_export_subnet_routes_with_public_ip +"/servicenetworking:v1/ConsumerConfig/consumerImportCustomRoutes": consumer_import_custom_routes +"/servicenetworking:v1/ConsumerConfig/consumerImportSubnetRoutesWithPublicIp": consumer_import_subnet_routes_with_public_ip +"/servicenetworking:v1/ConsumerConfig/producerExportCustomRoutes": producer_export_custom_routes +"/servicenetworking:v1/ConsumerConfig/producerExportSubnetRoutesWithPublicIp": producer_export_subnet_routes_with_public_ip +"/servicenetworking:v1/ConsumerConfig/producerImportCustomRoutes": producer_import_custom_routes +"/servicenetworking:v1/ConsumerConfig/producerImportSubnetRoutesWithPublicIp": producer_import_subnet_routes_with_public_ip +"/servicenetworking:v1/ConsumerConfig/producerNetwork": producer_network +"/servicenetworking:v1/ConsumerConfig/reservedRanges": reserved_ranges +"/servicenetworking:v1/ConsumerConfig/reservedRanges/reserved_range": reserved_range +"/servicenetworking:v1/ConsumerConfigMetadata": consumer_config_metadata "/servicenetworking:v1/ConsumerProject": consumer_project "/servicenetworking:v1/ConsumerProject/projectNum": project_num "/servicenetworking:v1/Context": context @@ -132724,6 +132757,19 @@ "/servicenetworking:v1beta/Connection/reservedPeeringRanges": reserved_peering_ranges "/servicenetworking:v1beta/Connection/reservedPeeringRanges/reserved_peering_range": reserved_peering_range "/servicenetworking:v1beta/Connection/service": service +"/servicenetworking:v1beta/ConsumerConfig": consumer_config +"/servicenetworking:v1beta/ConsumerConfig/consumerExportCustomRoutes": consumer_export_custom_routes +"/servicenetworking:v1beta/ConsumerConfig/consumerExportSubnetRoutesWithPublicIp": consumer_export_subnet_routes_with_public_ip +"/servicenetworking:v1beta/ConsumerConfig/consumerImportCustomRoutes": consumer_import_custom_routes +"/servicenetworking:v1beta/ConsumerConfig/consumerImportSubnetRoutesWithPublicIp": consumer_import_subnet_routes_with_public_ip +"/servicenetworking:v1beta/ConsumerConfig/producerExportCustomRoutes": producer_export_custom_routes +"/servicenetworking:v1beta/ConsumerConfig/producerExportSubnetRoutesWithPublicIp": producer_export_subnet_routes_with_public_ip +"/servicenetworking:v1beta/ConsumerConfig/producerImportCustomRoutes": producer_import_custom_routes +"/servicenetworking:v1beta/ConsumerConfig/producerImportSubnetRoutesWithPublicIp": producer_import_subnet_routes_with_public_ip +"/servicenetworking:v1beta/ConsumerConfig/producerNetwork": producer_network +"/servicenetworking:v1beta/ConsumerConfig/reservedRanges": reserved_ranges +"/servicenetworking:v1beta/ConsumerConfig/reservedRanges/reserved_range": reserved_range +"/servicenetworking:v1beta/ConsumerConfigMetadata": consumer_config_metadata "/servicenetworking:v1beta/Context": context "/servicenetworking:v1beta/Context/rules": rules "/servicenetworking:v1beta/Context/rules/rule": rule @@ -144746,6 +144792,12 @@ "/urlshortener:v1/urlshortener.url.list/projection": projection "/urlshortener:v1/urlshortener.url.list/start-token": start_token "/urlshortener:v1/userIp": user_ip +"/vault:v1/AccountCount": account_count +"/vault:v1/AccountCount/account": account +"/vault:v1/AccountCount/count": count +"/vault:v1/AccountCountError": account_count_error +"/vault:v1/AccountCountError/account": account +"/vault:v1/AccountCountError/errorType": error_type "/vault:v1/AccountInfo": account_info "/vault:v1/AccountInfo/emails": emails "/vault:v1/AccountInfo/emails/email": email @@ -144764,6 +144816,7 @@ "/vault:v1/AddMatterPermissionsRequest/ccMe": cc_me "/vault:v1/AddMatterPermissionsRequest/matterPermission": matter_permission "/vault:v1/AddMatterPermissionsRequest/sendEmails": send_emails +"/vault:v1/CancelOperationRequest": cancel_operation_request "/vault:v1/CloseMatterRequest": close_matter_request "/vault:v1/CloseMatterResponse": close_matter_response "/vault:v1/CloseMatterResponse/matter": matter @@ -144780,6 +144833,18 @@ "/vault:v1/CorpusQuery/groupsQuery": groups_query "/vault:v1/CorpusQuery/hangoutsChatQuery": hangouts_chat_query "/vault:v1/CorpusQuery/mailQuery": mail_query +"/vault:v1/CountArtifactsMetadata": count_artifacts_metadata +"/vault:v1/CountArtifactsMetadata/endTime": end_time +"/vault:v1/CountArtifactsMetadata/matterId": matter_id +"/vault:v1/CountArtifactsMetadata/query": query +"/vault:v1/CountArtifactsMetadata/startTime": start_time +"/vault:v1/CountArtifactsRequest": count_artifacts_request +"/vault:v1/CountArtifactsRequest/query": query +"/vault:v1/CountArtifactsRequest/view": view +"/vault:v1/CountArtifactsResponse": count_artifacts_response +"/vault:v1/CountArtifactsResponse/groupsCountResult": groups_count_result +"/vault:v1/CountArtifactsResponse/mailCountResult": mail_count_result +"/vault:v1/CountArtifactsResponse/totalCount": total_count "/vault:v1/DriveExportOptions": drive_export_options "/vault:v1/DriveExportOptions/includeAccessInfo": include_access_info "/vault:v1/DriveOptions": drive_options @@ -144808,6 +144873,15 @@ "/vault:v1/ExportStats/exportedArtifactCount": exported_artifact_count "/vault:v1/ExportStats/sizeInBytes": size_in_bytes "/vault:v1/ExportStats/totalArtifactCount": total_artifact_count +"/vault:v1/GroupsCountResult": groups_count_result +"/vault:v1/GroupsCountResult/accountCountErrors": account_count_errors +"/vault:v1/GroupsCountResult/accountCountErrors/account_count_error": account_count_error +"/vault:v1/GroupsCountResult/accountCounts": account_counts +"/vault:v1/GroupsCountResult/accountCounts/account_count": account_count +"/vault:v1/GroupsCountResult/matchingAccountsCount": matching_accounts_count +"/vault:v1/GroupsCountResult/nonQueryableAccounts": non_queryable_accounts +"/vault:v1/GroupsCountResult/nonQueryableAccounts/non_queryable_account": non_queryable_account +"/vault:v1/GroupsCountResult/queriedAccountsCount": queried_accounts_count "/vault:v1/GroupsExportOptions": groups_export_options "/vault:v1/GroupsExportOptions/exportFormat": export_format "/vault:v1/HangoutsChatExportOptions": hangouts_chat_export_options @@ -144863,10 +144937,23 @@ "/vault:v1/ListMattersResponse/matters": matters "/vault:v1/ListMattersResponse/matters/matter": matter "/vault:v1/ListMattersResponse/nextPageToken": next_page_token +"/vault:v1/ListOperationsResponse": list_operations_response +"/vault:v1/ListOperationsResponse/nextPageToken": next_page_token +"/vault:v1/ListOperationsResponse/operations": operations +"/vault:v1/ListOperationsResponse/operations/operation": operation "/vault:v1/ListSavedQueriesResponse": list_saved_queries_response "/vault:v1/ListSavedQueriesResponse/nextPageToken": next_page_token "/vault:v1/ListSavedQueriesResponse/savedQueries": saved_queries "/vault:v1/ListSavedQueriesResponse/savedQueries/saved_query": saved_query +"/vault:v1/MailCountResult": mail_count_result +"/vault:v1/MailCountResult/accountCountErrors": account_count_errors +"/vault:v1/MailCountResult/accountCountErrors/account_count_error": account_count_error +"/vault:v1/MailCountResult/accountCounts": account_counts +"/vault:v1/MailCountResult/accountCounts/account_count": account_count +"/vault:v1/MailCountResult/matchingAccountsCount": matching_accounts_count +"/vault:v1/MailCountResult/nonQueryableAccounts": non_queryable_accounts +"/vault:v1/MailCountResult/nonQueryableAccounts/non_queryable_account": non_queryable_account +"/vault:v1/MailCountResult/queriedAccountsCount": queried_accounts_count "/vault:v1/MailExportOptions": mail_export_options "/vault:v1/MailExportOptions/exportFormat": export_format "/vault:v1/MailExportOptions/showConfidentialModeContent": show_confidential_mode_content @@ -144882,6 +144969,14 @@ "/vault:v1/MatterPermission": matter_permission "/vault:v1/MatterPermission/accountId": account_id "/vault:v1/MatterPermission/role": role +"/vault:v1/Operation": operation +"/vault:v1/Operation/done": done +"/vault:v1/Operation/error": error +"/vault:v1/Operation/metadata": metadata +"/vault:v1/Operation/metadata/metadatum": metadatum +"/vault:v1/Operation/name": name +"/vault:v1/Operation/response": response +"/vault:v1/Operation/response/response": response "/vault:v1/OrgUnitInfo": org_unit_info "/vault:v1/OrgUnitInfo/orgUnitId": org_unit_id "/vault:v1/Query": query @@ -144941,6 +145036,8 @@ "/vault:v1/vault.matters.addPermissions/matterId": matter_id "/vault:v1/vault.matters.close": close_matter "/vault:v1/vault.matters.close/matterId": matter_id +"/vault:v1/vault.matters.count": count_matter_artifacts +"/vault:v1/vault.matters.count/matterId": matter_id "/vault:v1/vault.matters.create": create_matter "/vault:v1/vault.matters.delete": delete_matter "/vault:v1/vault.matters.delete/matterId": matter_id @@ -145017,8 +145114,17 @@ "/vault:v1/vault.matters.undelete/matterId": matter_id "/vault:v1/vault.matters.update": update_matter "/vault:v1/vault.matters.update/matterId": matter_id +"/vault:v1/vault.operations.cancel": cancel_operation +"/vault:v1/vault.operations.cancel/name": name "/vault:v1/vault.operations.delete": delete_operation "/vault:v1/vault.operations.delete/name": name +"/vault:v1/vault.operations.get": get_operation +"/vault:v1/vault.operations.get/name": name +"/vault:v1/vault.operations.list": list_operations +"/vault:v1/vault.operations.list/filter": filter +"/vault:v1/vault.operations.list/name": name +"/vault:v1/vault.operations.list/pageSize": page_size +"/vault:v1/vault.operations.list/pageToken": page_token "/vectortile:v1/Area": area "/vectortile:v1/Area/hasExternalEdges": has_external_edges "/vectortile:v1/Area/internalEdges": internal_edges diff --git a/generated/google/apis/adexchangebuyer2_v2beta1.rb b/generated/google/apis/adexchangebuyer2_v2beta1.rb index 616268669..7ba5a5a07 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/authorized-buyers/apis/reference/rest/ module Adexchangebuyer2V2beta1 VERSION = 'V2beta1' - REVISION = '20200822' + REVISION = '20201013' # Manage your Ad Exchange buyer account configuration AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer' diff --git a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb index dd53ea494..c7f7aec3e 100644 --- a/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +++ b/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb @@ -29,26 +29,26 @@ module Google class AbsoluteDateRange include Google::Apis::Core::Hashable - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `endDate` # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] attr_accessor :end_date - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `startDate` # @return [Google::Apis::Adexchangebuyer2V2beta1::Date] attr_accessor :start_date @@ -1047,31 +1047,31 @@ module Google end end - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. class Date include Google::Apis::Core::Hashable - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # Corresponds to the JSON property `day` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # Corresponds to the JSON property `year` # @return [Fixnum] attr_accessor :year @@ -2669,7 +2669,7 @@ module Google class Money include Google::Apis::Core::Hashable - # The 3-letter currency code defined in ISO 4217. + # The three-letter currency code defined in ISO 4217. # Corresponds to the JSON property `currencyCode` # @return [String] attr_accessor :currency_code diff --git a/generated/google/apis/admin_reports_v1.rb b/generated/google/apis/admin_reports_v1.rb index 6fc473fd1..9e7a4ca09 100644 --- a/generated/google/apis/admin_reports_v1.rb +++ b/generated/google/apis/admin_reports_v1.rb @@ -27,7 +27,7 @@ module Google # @see http://developers.google.com/admin-sdk/ module AdminReportsV1 VERSION = 'ReportsV1' - REVISION = '20200819' + REVISION = '20201013' # View audit reports for your G Suite domain AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly' diff --git a/generated/google/apis/admob_v1.rb b/generated/google/apis/admob_v1.rb index 54f28c2a3..18b355acd 100644 --- a/generated/google/apis/admob_v1.rb +++ b/generated/google/apis/admob_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/admob/api/ module AdmobV1 VERSION = 'V1' - REVISION = '20201002' + REVISION = '20201013' # See your AdMob data AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report' diff --git a/generated/google/apis/admob_v1/classes.rb b/generated/google/apis/admob_v1/classes.rb index 4a56c7168..8f3e4175b 100644 --- a/generated/google/apis/admob_v1/classes.rb +++ b/generated/google/apis/admob_v1/classes.rb @@ -22,31 +22,31 @@ module Google module Apis module AdmobV1 - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. class Date include Google::Apis::Core::Hashable - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # Corresponds to the JSON property `day` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # Corresponds to the JSON property `year` # @return [Fixnum] attr_accessor :year @@ -67,26 +67,26 @@ module Google class DateRange include Google::Apis::Core::Hashable - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `endDate` # @return [Google::Apis::AdmobV1::Date] attr_accessor :end_date - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `startDate` # @return [Google::Apis::AdmobV1::Date] attr_accessor :start_date diff --git a/generated/google/apis/analytics_v3/service.rb b/generated/google/apis/analytics_v3/service.rb index 43a1d81d5..cf16a76b6 100644 --- a/generated/google/apis/analytics_v3/service.rb +++ b/generated/google/apis/analytics_v3/service.rb @@ -47,7 +47,7 @@ module Google attr_accessor :user_ip def initialize - super('', 'analytics/v3/') + super('https://www.googleapis.com/', 'analytics/v3/') @batch_path = 'batch/analytics/v3' end diff --git a/generated/google/apis/dlp_v2.rb b/generated/google/apis/dlp_v2.rb index e1c934a09..1878d85e1 100644 --- a/generated/google/apis/dlp_v2.rb +++ b/generated/google/apis/dlp_v2.rb @@ -27,7 +27,7 @@ module Google # @see https://cloud.google.com/dlp/docs/ module DlpV2 VERSION = 'V2' - REVISION = '20200919' + REVISION = '20201009' # 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/dlp_v2/classes.rb b/generated/google/apis/dlp_v2/classes.rb index 1df2796bf..651853b23 100644 --- a/generated/google/apis/dlp_v2/classes.rb +++ b/generated/google/apis/dlp_v2/classes.rb @@ -5995,13 +5995,14 @@ module Google attr_accessor :enable_auto_population_of_timespan_config alias_method :enable_auto_population_of_timespan_config?, :enable_auto_population_of_timespan_config - # Exclude files or rows newer than this value. If set to zero, no upper time - # limit is applied. + # Exclude files, tables, or rows newer than this value. If not set, no upper + # time limit is applied. # Corresponds to the JSON property `endTime` # @return [String] attr_accessor :end_time - # Exclude files or rows older than this value. + # Exclude files, tables, or rows older than this value. If not set, no lower + # time limit is applied. # Corresponds to the JSON property `startTime` # @return [String] attr_accessor :start_time diff --git a/generated/google/apis/doubleclickbidmanager_v1.rb b/generated/google/apis/doubleclickbidmanager_v1.rb index bcb71eadb..71c7aaa39 100644 --- a/generated/google/apis/doubleclickbidmanager_v1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1 VERSION = 'V1' - REVISION = '20200827' + REVISION = '20201006' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1/classes.rb index d8b3495d8..fb5de16c2 100644 --- a/generated/google/apis/doubleclickbidmanager_v1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1/classes.rb @@ -106,7 +106,7 @@ module Google attr_accessor :filter_type # SDF Version (column names, types, order) in which the entities will be - # returned. Default to 5. + # returned. Default to 5.2. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version diff --git a/generated/google/apis/doubleclickbidmanager_v1_1.rb b/generated/google/apis/doubleclickbidmanager_v1_1.rb index 7e9da0c6b..4accd3170 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/bid-manager/ module DoubleclickbidmanagerV1_1 VERSION = 'V1_1' - REVISION = '20200930' + REVISION = '20201006' # View and manage your reports in DoubleClick Bid Manager AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager' diff --git a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb index 6cfd97ced..74d267d8e 100644 --- a/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +++ b/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb @@ -160,7 +160,7 @@ module Google attr_accessor :filter_type # SDF Version (column names, types, order) in which the entities will be - # returned. Default to 5. + # returned. Default to 5.2. # Corresponds to the JSON property `version` # @return [String] attr_accessor :version diff --git a/generated/google/apis/drive_v3.rb b/generated/google/apis/drive_v3.rb index 2ef6a84bc..30b672322 100644 --- a/generated/google/apis/drive_v3.rb +++ b/generated/google/apis/drive_v3.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/drive/ module DriveV3 VERSION = 'V3' - REVISION = '20200813' + REVISION = '20201004' # See, edit, create, and delete all of your Google Drive files AUTH_DRIVE = 'https://www.googleapis.com/auth/drive' diff --git a/generated/google/apis/drive_v3/classes.rb b/generated/google/apis/drive_v3/classes.rb index a714d31f1..5eea9677a 100644 --- a/generated/google/apis/drive_v3/classes.rb +++ b/generated/google/apis/drive_v3/classes.rb @@ -2501,7 +2501,8 @@ module Google attr_accessor :published alias_method :published?, :published - # A link to the published revision. + # A link to the published revision. This is only populated for Google Sites + # files. # Corresponds to the JSON property `publishedLink` # @return [String] attr_accessor :published_link diff --git a/generated/google/apis/gmailpostmastertools_v1beta1.rb b/generated/google/apis/gmailpostmastertools_v1beta1.rb index 079379698..096bbd533 100644 --- a/generated/google/apis/gmailpostmastertools_v1beta1.rb +++ b/generated/google/apis/gmailpostmastertools_v1beta1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/gmail/postmaster module GmailpostmastertoolsV1beta1 VERSION = 'V1beta1' - REVISION = '20200817' + REVISION = '20201012' # See email traffic metrics for the domains you have registered in Gmail Postmaster Tools AUTH_POSTMASTER_READONLY = 'https://www.googleapis.com/auth/postmaster.readonly' diff --git a/generated/google/apis/gmailpostmastertools_v1beta1/service.rb b/generated/google/apis/gmailpostmastertools_v1beta1/service.rb index 04be29f74..f01ef19f0 100644 --- a/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +++ b/generated/google/apis/gmailpostmastertools_v1beta1/service.rb @@ -159,14 +159,14 @@ module Google # should have the form `domains/`domain_name``, where domain_name is the fully # qualified domain name. # @param [Fixnum] end_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] end_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] end_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [Fixnum] page_size # Requested page size. Server may return fewer TrafficStats than requested. If # unspecified, server will pick an appropriate default. @@ -175,14 +175,14 @@ module Google # is the value of ListTrafficStatsResponse.next_page_token returned from the # previous call to `ListTrafficStats` method. # @param [Fixnum] start_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] start_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] start_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/healthcare_v1.rb b/generated/google/apis/healthcare_v1.rb index 3dd59ac3d..cebfa269f 100644 --- a/generated/google/apis/healthcare_v1.rb +++ b/generated/google/apis/healthcare_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1 VERSION = 'V1' - REVISION = '20200917' + REVISION = '20201006' # 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/healthcare_v1/classes.rb b/generated/google/apis/healthcare_v1/classes.rb index fd53130cb..713c6bc24 100644 --- a/generated/google/apis/healthcare_v1/classes.rb +++ b/generated/google/apis/healthcare_v1/classes.rb @@ -789,10 +789,10 @@ module Google # updateCreate). This determines if the client can use an Update operation to # create a new resource with a client-specified ID. If false, all IDs are server- # assigned through the Create operation and attempts to update a non-existent - # resource return errors. Please treat the audit logs with appropriate levels of - # care if client-specified resource IDs contain sensitive data such as patient - # identifiers, those IDs are part of the FHIR resource path recorded in Cloud - # audit logs and Cloud Pub/Sub notifications. + # resource return errors. Be careful with the audit logs if client-specified + # resource IDs contain sensitive data such as patient identifiers, those IDs are + # part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub + # notifications. # Corresponds to the JSON property `enableUpdateCreate` # @return [Boolean] attr_accessor :enable_update_create diff --git a/generated/google/apis/healthcare_v1beta1.rb b/generated/google/apis/healthcare_v1beta1.rb index d2d7f596c..afedb4523 100644 --- a/generated/google/apis/healthcare_v1beta1.rb +++ b/generated/google/apis/healthcare_v1beta1.rb @@ -25,7 +25,7 @@ module Google # @see https://cloud.google.com/healthcare module HealthcareV1beta1 VERSION = 'V1beta1' - REVISION = '20200924' + REVISION = '20201006' # 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/healthcare_v1beta1/classes.rb b/generated/google/apis/healthcare_v1beta1/classes.rb index 513215d47..b9a326bc3 100644 --- a/generated/google/apis/healthcare_v1beta1/classes.rb +++ b/generated/google/apis/healthcare_v1beta1/classes.rb @@ -257,8 +257,9 @@ module Google class AttributeDefinition include Google::Apis::Core::Hashable - # Required. Possible values for the attribute. An empty list is invalid. The - # list can only be expanded after creation. + # Required. Possible values for the attribute. The number of allowed values must + # not exceed 100. An empty list is invalid. The list can only be expanded after + # creation. # Corresponds to the JSON property `allowedValues` # @return [Array] attr_accessor :allowed_values @@ -1669,10 +1670,10 @@ module Google # updateCreate). This determines if the client can use an Update operation to # create a new resource with a client-specified ID. If false, all IDs are server- # assigned through the Create operation and attempts to update a non-existent - # resource return errors. Please treat the audit logs with appropriate levels of - # care if client-specified resource IDs contain sensitive data such as patient - # identifiers, those IDs are part of the FHIR resource path recorded in Cloud - # audit logs and Cloud Pub/Sub notifications. + # resource return errors. Be careful with the audit logs if client-specified + # resource IDs contain sensitive data such as patient identifiers, those IDs are + # part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub + # notifications. # Corresponds to the JSON property `enableUpdateCreate` # @return [Boolean] attr_accessor :enable_update_create diff --git a/generated/google/apis/localservices_v1.rb b/generated/google/apis/localservices_v1.rb index 218d87bd1..39e99b741 100644 --- a/generated/google/apis/localservices_v1.rb +++ b/generated/google/apis/localservices_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://ads.google.com/local-services-ads/ module LocalservicesV1 VERSION = 'V1' - REVISION = '20200821' + REVISION = '20201012' end end end diff --git a/generated/google/apis/localservices_v1/service.rb b/generated/google/apis/localservices_v1/service.rb index ee681db3a..356d0e468 100644 --- a/generated/google/apis/localservices_v1/service.rb +++ b/generated/google/apis/localservices_v1/service.rb @@ -51,14 +51,14 @@ module Google # accounts. Caller needs to provide their manager customer id and the associated # auth credential that allows them read permissions on their linked accounts. # @param [Fixnum] end_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] end_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] end_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [Fixnum] page_size # The maximum number of accounts to return. If the page size is unset, page size # will default to 1000. Maximum page_size is 10000. Optional. @@ -73,14 +73,14 @@ module Google # ----------------------------------| | manager_customer_id:123 | Get Account # Report for Manager with id 123. | Required. # @param [Fixnum] start_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] start_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] start_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -121,14 +121,14 @@ module Google # associated auth credential that allows them read permissions on their linked # accounts. # @param [Fixnum] end_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] end_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] end_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [Fixnum] page_size # The maximum number of accounts to return. If the page size is unset, page size # will default to 1000. Maximum page_size is 10000. Optional. @@ -144,14 +144,14 @@ module Google # ----------------------------------| | manager_customer_id:123 | Get Detailed # Lead Report for Manager with id | | | 123. | Required. # @param [Fixnum] start_date_day - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # @param [Fixnum] start_date_month - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # @param [Fixnum] start_date_year - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user diff --git a/generated/google/apis/managedidentities_v1.rb b/generated/google/apis/managedidentities_v1.rb index 08fc6b1f6..61b64f3b0 100644 --- a/generated/google/apis/managedidentities_v1.rb +++ b/generated/google/apis/managedidentities_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/managed-microsoft-ad/ module ManagedidentitiesV1 VERSION = 'V1' - REVISION = '20200925' + REVISION = '20201007' # 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/managedidentities_v1/classes.rb b/generated/google/apis/managedidentities_v1/classes.rb index a65272c18..8bdd0ed10 100644 --- a/generated/google/apis/managedidentities_v1/classes.rb +++ b/generated/google/apis/managedidentities_v1/classes.rb @@ -514,7 +514,7 @@ module Google attr_accessor :maintenance_policy_names # The MaintenanceSchedule contains the scheduling information of published - # maintenance schedule. + # maintenance schedule with same key as software_versions. # Corresponds to the JSON property `maintenanceSchedules` # @return [Hash] attr_accessor :maintenance_schedules diff --git a/generated/google/apis/managedidentities_v1/service.rb b/generated/google/apis/managedidentities_v1/service.rb index b8bf38da7..f6fe63c1e 100644 --- a/generated/google/apis/managedidentities_v1/service.rb +++ b/generated/google/apis/managedidentities_v1/service.rb @@ -83,8 +83,6 @@ module Google # The resource that owns the locations collection, if applicable. # @param [String] filter # The standard list filter. - # @param [Boolean] include_unrevealed_locations - # If true, the returned list will include locations which are not yet revealed. # @param [Fixnum] page_size # The standard list page size. # @param [String] page_token @@ -106,13 +104,12 @@ module Google # @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 list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/locations', options) command.response_representation = Google::Apis::ManagedidentitiesV1::ListLocationsResponse::Representation command.response_class = Google::Apis::ManagedidentitiesV1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? - command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? diff --git a/generated/google/apis/managedidentities_v1beta1.rb b/generated/google/apis/managedidentities_v1beta1.rb index 5c705dc14..a58b3980a 100644 --- a/generated/google/apis/managedidentities_v1beta1.rb +++ b/generated/google/apis/managedidentities_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/managed-microsoft-ad/ module ManagedidentitiesV1beta1 VERSION = 'V1beta1' - REVISION = '20200925' + REVISION = '20201007' # 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/managedidentities_v1beta1/classes.rb b/generated/google/apis/managedidentities_v1beta1/classes.rb index 3ce990891..52ac2cd58 100644 --- a/generated/google/apis/managedidentities_v1beta1/classes.rb +++ b/generated/google/apis/managedidentities_v1beta1/classes.rb @@ -163,13 +163,6 @@ module Google # @return [String] attr_accessor :admin - # Optional. Configuration for audit logs. True if audit logs are enabled, else - # false. Default is audit logs disabled. - # Corresponds to the JSON property `auditLogsEnabled` - # @return [Boolean] - attr_accessor :audit_logs_enabled - alias_method :audit_logs_enabled?, :audit_logs_enabled - # Optional. The full names of the Google Compute Engine [networks](/compute/docs/ # networks-and-firewalls#networks) the domain instance is connected to. Networks # can be added using UpdateDomain. The domain is only available on networks @@ -244,7 +237,6 @@ module Google # Update properties of this object def update!(**args) @admin = args[:admin] if args.key?(:admin) - @audit_logs_enabled = args[:audit_logs_enabled] if args.key?(:audit_logs_enabled) @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks) @create_time = args[:create_time] if args.key?(:create_time) @fqdn = args[:fqdn] if args.key?(:fqdn) @@ -522,7 +514,7 @@ module Google attr_accessor :maintenance_policy_names # The MaintenanceSchedule contains the scheduling information of published - # maintenance schedule. + # maintenance schedule with same key as software_versions. # Corresponds to the JSON property `maintenanceSchedules` # @return [Hash] attr_accessor :maintenance_schedules @@ -957,6 +949,39 @@ module Google end end + # ListSQLIntegrationsResponse is the response message for ListSQLIntegrations + # method. + class ListSqlIntegrationsResponse + include Google::Apis::Core::Hashable + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of SQLIntegrations of a domain. + # Corresponds to the JSON property `sqlIntegrations` + # @return [Array] + attr_accessor :sql_integrations + + # A list of locations that could not be reached. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @sql_integrations = args[:sql_integrations] if args.key?(:sql_integrations) + @unreachable = args[:unreachable] if args.key?(:unreachable) + end + end + # A resource that represents Google Cloud Platform location. class Location include Google::Apis::Core::Hashable @@ -1268,6 +1293,53 @@ module Google end end + # Represents the SQL instance integrated with AD. + class SqlIntegration + include Google::Apis::Core::Hashable + + # Output only. The time sql integration was created. Synthetic field is + # populated automatically by CCFE. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # The unique name of the sql integration in the form of `projects/`project_id`/ + # locations/global/domains/`domain_name`/sqlIntegrations/`sql_integration`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The full resource name of an integrated sql instance TODO(b/161918255) Add + # resource type annotation post CloudSQL API fix. + # Corresponds to the JSON property `sqlInstance` + # @return [String] + attr_accessor :sql_instance + + # Output only. The current state of the sql integration. + # Corresponds to the JSON property `state` + # @return [String] + attr_accessor :state + + # Output only. The time sql integration was updated. Synthetic field is + # populated automatically by CCFE. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @name = args[:name] if args.key?(:name) + @sql_instance = args[:sql_instance] if args.key?(:sql_instance) + @state = args[:state] if args.key?(:state) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + # Request message for `SetIamPolicy` method. class SetIamPolicyRequest include Google::Apis::Core::Hashable diff --git a/generated/google/apis/managedidentities_v1beta1/representations.rb b/generated/google/apis/managedidentities_v1beta1/representations.rb index 058183eab..9e2127e3f 100644 --- a/generated/google/apis/managedidentities_v1beta1/representations.rb +++ b/generated/google/apis/managedidentities_v1beta1/representations.rb @@ -148,6 +148,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListSqlIntegrationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Location class Representation < Google::Apis::Core::JsonRepresentation; end @@ -190,6 +196,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class SqlIntegration + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SetIamPolicyRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -263,7 +275,6 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :admin, as: 'admin' - property :audit_logs_enabled, as: 'auditLogsEnabled' collection :authorized_networks, as: 'authorizedNetworks' property :create_time, as: 'createTime' property :fqdn, as: 'fqdn' @@ -450,6 +461,16 @@ module Google end end + class ListSqlIntegrationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :sql_integrations, as: 'sqlIntegrations', class: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration, decorator: Google::Apis::ManagedidentitiesV1beta1::SqlIntegration::Representation + + collection :unreachable, as: 'unreachable' + end + end + class Location # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -517,6 +538,17 @@ module Google end end + class SqlIntegration + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :name, as: 'name' + property :sql_instance, as: 'sqlInstance' + property :state, as: 'state' + property :update_time, as: 'updateTime' + end + end + class SetIamPolicyRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/managedidentities_v1beta1/service.rb b/generated/google/apis/managedidentities_v1beta1/service.rb index f8af1f1ce..5a0715239 100644 --- a/generated/google/apis/managedidentities_v1beta1/service.rb +++ b/generated/google/apis/managedidentities_v1beta1/service.rb @@ -83,8 +83,6 @@ module Google # The resource that owns the locations collection, if applicable. # @param [String] filter # The standard list filter. - # @param [Boolean] include_unrevealed_locations - # If true, the returned list will include locations which are not yet revealed. # @param [Fixnum] page_size # The standard list page size. # @param [String] page_token @@ -106,13 +104,12 @@ module Google # @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 list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta1/{+name}/locations', options) command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListLocationsResponse::Representation command.response_class = Google::Apis::ManagedidentitiesV1beta1::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? - command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? @@ -391,7 +388,7 @@ module Google # @param [String] update_mask # Required. Mask of fields to update. At least one path must be supplied in this # field. The elements of the repeated paths field may only include fields from - # Domain: * `labels` * `locations` * `authorized_networks` + # Domain: * `labels` * `locations` * `authorized_networks` * `audit_logs_enabled` # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -599,6 +596,87 @@ module Google execute_or_queue_command(command, &block) end + # Gets details of a single sqlIntegration. + # @param [String] name + # Required. SQLIntegration resource name using the form: `projects/`project_id`/ + # locations/global/domains/*/sqlIntegrations/`name`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::SqlIntegration] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ManagedidentitiesV1beta1::SqlIntegration] + # + # @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_project_location_global_domain_sql_integration(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::ManagedidentitiesV1beta1::SqlIntegration::Representation + command.response_class = Google::Apis::ManagedidentitiesV1beta1::SqlIntegration + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists SQLIntegrations in a given domain. + # @param [String] parent + # Required. The resource name of the SQLIntegrations using the form: `projects/` + # project_id`/locations/global/domains/*` + # @param [String] filter + # Optional. Filter specifying constraints of a list operation. For example, ` + # SQLIntegration.name="sql"`. + # @param [String] order_by + # Optional. Specifies the ordering of results following syntax at https://cloud. + # google.com/apis/design/design_patterns#sorting_order. + # @param [Fixnum] page_size + # Optional. The maximum number of items to return. If not specified, a default + # value of 1000 will be used by the service. Regardless of the page_size value, + # the response may include a partial list and a caller should only rely on + # response'ANIZATIONs next_page_token to determine if there are more instances + # left to be queried. + # @param [String] page_token + # Optional. The next_page_token value returned from a previous List request, if + # any. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse] + # + # @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 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) + command = make_simple_command(:get, 'v1beta1/{+parent}/sqlIntegrations', options) + command.response_representation = Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse::Representation + command.response_class = Google::Apis::ManagedidentitiesV1beta1::ListSqlIntegrationsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Starts asynchronous cancellation on a long-running operation. The server makes # a best effort to cancel the operation, but success is not guaranteed. If the # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. diff --git a/generated/google/apis/realtimebidding_v1.rb b/generated/google/apis/realtimebidding_v1.rb index f7169cf1e..ea6a42e1a 100644 --- a/generated/google/apis/realtimebidding_v1.rb +++ b/generated/google/apis/realtimebidding_v1.rb @@ -28,7 +28,7 @@ module Google # @see https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/ module RealtimebiddingV1 VERSION = 'V1' - REVISION = '20201008' + REVISION = '20201013' # See, create, edit, and delete your Authorized Buyers and Open Bidding account entities AUTH_REALTIME_BIDDING = 'https://www.googleapis.com/auth/realtime-bidding' diff --git a/generated/google/apis/realtimebidding_v1/classes.rb b/generated/google/apis/realtimebidding_v1/classes.rb index cd7f26c22..97dc3b74b 100644 --- a/generated/google/apis/realtimebidding_v1/classes.rb +++ b/generated/google/apis/realtimebidding_v1/classes.rb @@ -174,10 +174,10 @@ module Google # @return [Array] attr_accessor :impression_tracking_urls - # Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative`` - # , where ``buyer`` represents the account ID of the buyer who owns the creative, - # and ``creative`` is the buyer-specific creative ID that references this - # creative in the bid response. + # Output only. Name of the creative. Follows the pattern `buyers/`buyer`/ + # creatives/`creative``, where ``buyer`` represents the account ID of the buyer + # who owns the creative, and ``creative`` is the buyer-specific creative ID that + # references this creative in the bid response. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -351,31 +351,31 @@ module Google end end - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. class Date include Google::Apis::Core::Hashable - # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if - # specifying a year by itself or a year and month where the day is not - # significant. + # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to + # specify a year by itself or a year and month where the day isn't significant. # Corresponds to the JSON property `day` # @return [Fixnum] attr_accessor :day - # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month + # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month # and day. # Corresponds to the JSON property `month` # @return [Fixnum] attr_accessor :month - # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year. + # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a + # year. # Corresponds to the JSON property `year` # @return [Fixnum] attr_accessor :year @@ -1054,14 +1054,14 @@ module Google class UrlRestriction include Google::Apis::Core::Hashable - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `endDate` # @return [Google::Apis::RealtimebiddingV1::Date] attr_accessor :end_date @@ -1071,14 +1071,14 @@ module Google # @return [String] attr_accessor :restriction_type - # Represents a whole or partial calendar date, e.g. a birthday. The time of day - # and time zone are either specified elsewhere or are not significant. The date - # is relative to the Proleptic Gregorian Calendar. This can represent: * A full - # date, with non-zero year, month and day values * A month and day value, with a - # zero year, e.g. an anniversary * A year on its own, with zero month and day - # values * A year and month value, with a zero day, e.g. a credit card - # expiration date Related types are google.type.TimeOfDay and `google.protobuf. - # Timestamp`. + # Represents a whole or partial calendar date, such as a birthday. The time of + # day and time zone are either specified elsewhere or are insignificant. The + # date is relative to the Gregorian Calendar. This can represent one of the + # following: * A full date, with non-zero year, month, and day values * A month + # and day value, with a zero year, such as an anniversary * A year on its own, + # with zero month and day values * A year and month value, with a zero day, such + # as a credit card expiration date Related types are google.type.TimeOfDay and ` + # google.protobuf.Timestamp`. # Corresponds to the JSON property `startDate` # @return [Google::Apis::RealtimebiddingV1::Date] attr_accessor :start_date diff --git a/generated/google/apis/realtimebidding_v1/service.rb b/generated/google/apis/realtimebidding_v1/service.rb index 74a93c8d5..c849c10fe 100644 --- a/generated/google/apis/realtimebidding_v1/service.rb +++ b/generated/google/apis/realtimebidding_v1/service.rb @@ -327,10 +327,10 @@ module Google # Updates a creative. # @param [String] name - # Name of the creative. Follows the pattern `buyers/`buyer`/creatives/`creative`` - # , where ``buyer`` represents the account ID of the buyer who owns the creative, - # and ``creative`` is the buyer-specific creative ID that references this - # creative in the bid response. + # Output only. Name of the creative. Follows the pattern `buyers/`buyer`/ + # creatives/`creative``, where ``buyer`` represents the account ID of the buyer + # who owns the creative, and ``creative`` is the buyer-specific creative ID that + # references this creative in the bid response. # @param [Google::Apis::RealtimebiddingV1::Creative] creative_object # @param [String] update_mask # Field mask to use for partial in-place updates. diff --git a/generated/google/apis/servicenetworking_v1.rb b/generated/google/apis/servicenetworking_v1.rb index df10ebebb..9efffb225 100644 --- a/generated/google/apis/servicenetworking_v1.rb +++ b/generated/google/apis/servicenetworking_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1 VERSION = 'V1' - REVISION = '20200908' + REVISION = '20201012' # 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/servicenetworking_v1/classes.rb b/generated/google/apis/servicenetworking_v1/classes.rb index d5dd2856c..3545d1f3c 100644 --- a/generated/google/apis/servicenetworking_v1/classes.rb +++ b/generated/google/apis/servicenetworking_v1/classes.rb @@ -801,6 +801,108 @@ module Google end end + # Configuration information for a private service access connection. + class ConsumerConfig + include Google::Apis::Core::Hashable + + # Export custom routes flag value for peering from consumer to producer. + # Corresponds to the JSON property `consumerExportCustomRoutes` + # @return [Boolean] + attr_accessor :consumer_export_custom_routes + alias_method :consumer_export_custom_routes?, :consumer_export_custom_routes + + # Export subnet routes with public ip flag value for peering from consumer to + # producer. + # Corresponds to the JSON property `consumerExportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :consumer_export_subnet_routes_with_public_ip + alias_method :consumer_export_subnet_routes_with_public_ip?, :consumer_export_subnet_routes_with_public_ip + + # Import custom routes flag value for peering from consumer to producer. + # Corresponds to the JSON property `consumerImportCustomRoutes` + # @return [Boolean] + attr_accessor :consumer_import_custom_routes + alias_method :consumer_import_custom_routes?, :consumer_import_custom_routes + + # Import subnet routes with public ip flag value for peering from consumer to + # producer. + # Corresponds to the JSON property `consumerImportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :consumer_import_subnet_routes_with_public_ip + alias_method :consumer_import_subnet_routes_with_public_ip?, :consumer_import_subnet_routes_with_public_ip + + # Export custom routes flag value for peering from producer to consumer. + # Corresponds to the JSON property `producerExportCustomRoutes` + # @return [Boolean] + attr_accessor :producer_export_custom_routes + alias_method :producer_export_custom_routes?, :producer_export_custom_routes + + # Export subnet routes with public ip flag value for peering from producer to + # consumer. + # Corresponds to the JSON property `producerExportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :producer_export_subnet_routes_with_public_ip + alias_method :producer_export_subnet_routes_with_public_ip?, :producer_export_subnet_routes_with_public_ip + + # Import custom routes flag value for peering from producer to consumer. + # Corresponds to the JSON property `producerImportCustomRoutes` + # @return [Boolean] + attr_accessor :producer_import_custom_routes + alias_method :producer_import_custom_routes?, :producer_import_custom_routes + + # Import subnet routes with public ip flag value for peering from producer to + # consumer. + # Corresponds to the JSON property `producerImportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :producer_import_subnet_routes_with_public_ip + alias_method :producer_import_subnet_routes_with_public_ip?, :producer_import_subnet_routes_with_public_ip + + # Output only. The VPC host network that is used to host managed service + # instances. In the format, projects/`project`/global/networks/`network` where ` + # project` is the project number e.g. '12345' and `network` is the network name. + # Corresponds to the JSON property `producerNetwork` + # @return [String] + attr_accessor :producer_network + + # Output only. The name of the allocated IP address ranges for this private + # service access connection. + # Corresponds to the JSON property `reservedRanges` + # @return [Array] + attr_accessor :reserved_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes) + @consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip) + @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes) + @consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip) + @producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes) + @producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip) + @producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes) + @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip) + @producer_network = args[:producer_network] if args.key?(:producer_network) + @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges) + end + end + + # Metadata provided through GetOperation request for the LRO generated by + # UpdateConsumerConfig API. + class ConsumerConfigMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Represents a consumer project. class ConsumerProject include Google::Apis::Core::Hashable diff --git a/generated/google/apis/servicenetworking_v1/representations.rb b/generated/google/apis/servicenetworking_v1/representations.rb index f2a4a63ff..bea2e0733 100644 --- a/generated/google/apis/servicenetworking_v1/representations.rb +++ b/generated/google/apis/servicenetworking_v1/representations.rb @@ -142,6 +142,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConsumerConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConsumerConfigMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ConsumerProject class Representation < Google::Apis::Core::JsonRepresentation; end @@ -773,6 +785,28 @@ module Google end end + class ConsumerConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes' + property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp' + property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes' + property :consumer_import_subnet_routes_with_public_ip, as: 'consumerImportSubnetRoutesWithPublicIp' + property :producer_export_custom_routes, as: 'producerExportCustomRoutes' + property :producer_export_subnet_routes_with_public_ip, as: 'producerExportSubnetRoutesWithPublicIp' + property :producer_import_custom_routes, as: 'producerImportCustomRoutes' + property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp' + property :producer_network, as: 'producerNetwork' + collection :reserved_ranges, as: 'reservedRanges' + end + end + + class ConsumerConfigMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class ConsumerProject # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/servicenetworking_v1beta.rb b/generated/google/apis/servicenetworking_v1beta.rb index bdc148ac3..4f340b76d 100644 --- a/generated/google/apis/servicenetworking_v1beta.rb +++ b/generated/google/apis/servicenetworking_v1beta.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started module ServicenetworkingV1beta VERSION = 'V1beta' - REVISION = '20200819' + REVISION = '20201012' # 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/servicenetworking_v1beta/classes.rb b/generated/google/apis/servicenetworking_v1beta/classes.rb index 530acb2f9..cbd541917 100644 --- a/generated/google/apis/servicenetworking_v1beta/classes.rb +++ b/generated/google/apis/servicenetworking_v1beta/classes.rb @@ -684,6 +684,108 @@ module Google end end + # Configuration information for a private service access connection. + class ConsumerConfig + include Google::Apis::Core::Hashable + + # Export custom routes flag value for peering from consumer to producer. + # Corresponds to the JSON property `consumerExportCustomRoutes` + # @return [Boolean] + attr_accessor :consumer_export_custom_routes + alias_method :consumer_export_custom_routes?, :consumer_export_custom_routes + + # Export subnet routes with public ip flag value for peering from consumer to + # producer. + # Corresponds to the JSON property `consumerExportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :consumer_export_subnet_routes_with_public_ip + alias_method :consumer_export_subnet_routes_with_public_ip?, :consumer_export_subnet_routes_with_public_ip + + # Import custom routes flag value for peering from consumer to producer. + # Corresponds to the JSON property `consumerImportCustomRoutes` + # @return [Boolean] + attr_accessor :consumer_import_custom_routes + alias_method :consumer_import_custom_routes?, :consumer_import_custom_routes + + # Import subnet routes with public ip flag value for peering from consumer to + # producer. + # Corresponds to the JSON property `consumerImportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :consumer_import_subnet_routes_with_public_ip + alias_method :consumer_import_subnet_routes_with_public_ip?, :consumer_import_subnet_routes_with_public_ip + + # Export custom routes flag value for peering from producer to consumer. + # Corresponds to the JSON property `producerExportCustomRoutes` + # @return [Boolean] + attr_accessor :producer_export_custom_routes + alias_method :producer_export_custom_routes?, :producer_export_custom_routes + + # Export subnet routes with public ip flag value for peering from producer to + # consumer. + # Corresponds to the JSON property `producerExportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :producer_export_subnet_routes_with_public_ip + alias_method :producer_export_subnet_routes_with_public_ip?, :producer_export_subnet_routes_with_public_ip + + # Import custom routes flag value for peering from producer to consumer. + # Corresponds to the JSON property `producerImportCustomRoutes` + # @return [Boolean] + attr_accessor :producer_import_custom_routes + alias_method :producer_import_custom_routes?, :producer_import_custom_routes + + # Import subnet routes with public ip flag value for peering from producer to + # consumer. + # Corresponds to the JSON property `producerImportSubnetRoutesWithPublicIp` + # @return [Boolean] + attr_accessor :producer_import_subnet_routes_with_public_ip + alias_method :producer_import_subnet_routes_with_public_ip?, :producer_import_subnet_routes_with_public_ip + + # Output only. The VPC host network that is used to host managed service + # instances. In the format, projects/`project`/global/networks/`network` where ` + # project` is the project number e.g. '12345' and `network` is the network name. + # Corresponds to the JSON property `producerNetwork` + # @return [String] + attr_accessor :producer_network + + # Output only. The name of the allocated IP address ranges for this private + # service access connection. + # Corresponds to the JSON property `reservedRanges` + # @return [Array] + attr_accessor :reserved_ranges + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @consumer_export_custom_routes = args[:consumer_export_custom_routes] if args.key?(:consumer_export_custom_routes) + @consumer_export_subnet_routes_with_public_ip = args[:consumer_export_subnet_routes_with_public_ip] if args.key?(:consumer_export_subnet_routes_with_public_ip) + @consumer_import_custom_routes = args[:consumer_import_custom_routes] if args.key?(:consumer_import_custom_routes) + @consumer_import_subnet_routes_with_public_ip = args[:consumer_import_subnet_routes_with_public_ip] if args.key?(:consumer_import_subnet_routes_with_public_ip) + @producer_export_custom_routes = args[:producer_export_custom_routes] if args.key?(:producer_export_custom_routes) + @producer_export_subnet_routes_with_public_ip = args[:producer_export_subnet_routes_with_public_ip] if args.key?(:producer_export_subnet_routes_with_public_ip) + @producer_import_custom_routes = args[:producer_import_custom_routes] if args.key?(:producer_import_custom_routes) + @producer_import_subnet_routes_with_public_ip = args[:producer_import_subnet_routes_with_public_ip] if args.key?(:producer_import_subnet_routes_with_public_ip) + @producer_network = args[:producer_network] if args.key?(:producer_network) + @reserved_ranges = args[:reserved_ranges] if args.key?(:reserved_ranges) + end + end + + # Metadata provided through GetOperation request for the LRO generated by + # UpdateConsumerConfig API. + class ConsumerConfigMetadata + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # `Context` defines which contexts an API requests. Example: context: rules: - # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc. # context.OriginContext The above specifies that all methods in the API request ` diff --git a/generated/google/apis/servicenetworking_v1beta/representations.rb b/generated/google/apis/servicenetworking_v1beta/representations.rb index eae8d72be..14bcf9add 100644 --- a/generated/google/apis/servicenetworking_v1beta/representations.rb +++ b/generated/google/apis/servicenetworking_v1beta/representations.rb @@ -118,6 +118,18 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ConsumerConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ConsumerConfigMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Context class Representation < Google::Apis::Core::JsonRepresentation; end @@ -643,6 +655,28 @@ module Google end end + class ConsumerConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :consumer_export_custom_routes, as: 'consumerExportCustomRoutes' + property :consumer_export_subnet_routes_with_public_ip, as: 'consumerExportSubnetRoutesWithPublicIp' + property :consumer_import_custom_routes, as: 'consumerImportCustomRoutes' + property :consumer_import_subnet_routes_with_public_ip, as: 'consumerImportSubnetRoutesWithPublicIp' + property :producer_export_custom_routes, as: 'producerExportCustomRoutes' + property :producer_export_subnet_routes_with_public_ip, as: 'producerExportSubnetRoutesWithPublicIp' + property :producer_import_custom_routes, as: 'producerImportCustomRoutes' + property :producer_import_subnet_routes_with_public_ip, as: 'producerImportSubnetRoutesWithPublicIp' + property :producer_network, as: 'producerNetwork' + collection :reserved_ranges, as: 'reservedRanges' + end + end + + class ConsumerConfigMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class Context # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/streetviewpublish_v1.rb b/generated/google/apis/streetviewpublish_v1.rb index 2645a4707..f0c3c79f9 100644 --- a/generated/google/apis/streetviewpublish_v1.rb +++ b/generated/google/apis/streetviewpublish_v1.rb @@ -27,7 +27,7 @@ module Google # @see https://developers.google.com/streetview/publish/ module StreetviewpublishV1 VERSION = 'V1' - REVISION = '20200809' + REVISION = '20201012' # Publish and manage your 360 photos on Google Street View AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish' diff --git a/generated/google/apis/streetviewpublish_v1/classes.rb b/generated/google/apis/streetviewpublish_v1/classes.rb index 8000aaeb2..590fc5dea 100644 --- a/generated/google/apis/streetviewpublish_v1/classes.rb +++ b/generated/google/apis/streetviewpublish_v1/classes.rb @@ -157,8 +157,8 @@ module Google end end - # An object representing a latitude/longitude pair. This is expressed as a pair - # of doubles representing degrees latitude and degrees longitude. Unless + # An object that represents a latitude/longitude pair. This is expressed as a + # pair of doubles to represent degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the WGS84 standard. Values must be # within normalized ranges. class LatLng @@ -500,8 +500,8 @@ module Google # @return [Float] attr_accessor :heading - # An object representing a latitude/longitude pair. This is expressed as a pair - # of doubles representing degrees latitude and degrees longitude. Unless + # An object that represents a latitude/longitude pair. This is expressed as a + # pair of doubles to represent degrees latitude and degrees longitude. Unless # specified otherwise, this must conform to the WGS84 standard. Values must be # within normalized ranges. # Corresponds to the JSON property `latLngPair` diff --git a/generated/google/apis/vault_v1.rb b/generated/google/apis/vault_v1.rb index 3048cb28f..63ba50a1c 100644 --- a/generated/google/apis/vault_v1.rb +++ b/generated/google/apis/vault_v1.rb @@ -25,7 +25,7 @@ module Google # @see https://developers.google.com/vault module VaultV1 VERSION = 'V1' - REVISION = '20200901' + REVISION = '20201001' # Manage your eDiscovery data AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery' diff --git a/generated/google/apis/vault_v1/classes.rb b/generated/google/apis/vault_v1/classes.rb index ff9245af3..33f441e21 100644 --- a/generated/google/apis/vault_v1/classes.rb +++ b/generated/google/apis/vault_v1/classes.rb @@ -22,6 +22,56 @@ module Google module Apis module VaultV1 + # Count number for each account. + class AccountCount + include Google::Apis::Core::Hashable + + # User's information. + # Corresponds to the JSON property `account` + # @return [Google::Apis::VaultV1::UserInfo] + attr_accessor :account + + # The number of artifacts found for this account. + # Corresponds to the JSON property `count` + # @return [Fixnum] + attr_accessor :count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account = args[:account] if args.key?(:account) + @count = args[:count] if args.key?(:count) + end + end + + # An error that occurred when querying a specific account + class AccountCountError + include Google::Apis::Core::Hashable + + # User's information. + # Corresponds to the JSON property `account` + # @return [Google::Apis::VaultV1::UserInfo] + attr_accessor :account + + # Account query error. + # Corresponds to the JSON property `errorType` + # @return [String] + attr_accessor :error_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account = args[:account] if args.key?(:account) + @error_type = args[:error_type] if args.key?(:error_type) + end + end + # Accounts to search class AccountInfo include Google::Apis::Core::Hashable @@ -157,6 +207,19 @@ module Google end end + # The request message for Operations.CancelOperation. + class CancelOperationRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Close a matter by ID. class CloseMatterRequest include Google::Apis::Core::Hashable @@ -285,6 +348,99 @@ module Google end end + # Long running operation metadata for CountArtifacts. + class CountArtifactsMetadata + include Google::Apis::Core::Hashable + + # End time of count operation. Available when operation is done. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # The matter ID of the associated matter. + # Corresponds to the JSON property `matterId` + # @return [String] + attr_accessor :matter_id + + # A query definition relevant for search & export. + # Corresponds to the JSON property `query` + # @return [Google::Apis::VaultV1::Query] + attr_accessor :query + + # Creation time of count operation. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @matter_id = args[:matter_id] if args.key?(:matter_id) + @query = args[:query] if args.key?(:query) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # Count artifacts request. + class CountArtifactsRequest + include Google::Apis::Core::Hashable + + # A query definition relevant for search & export. + # Corresponds to the JSON property `query` + # @return [Google::Apis::VaultV1::Query] + attr_accessor :query + + # Specifies the granularity of the count result returned in response. + # Corresponds to the JSON property `view` + # @return [String] + attr_accessor :view + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @query = args[:query] if args.key?(:query) + @view = args[:view] if args.key?(:view) + end + end + + # Definition of the response for method CountArtifacts. + class CountArtifactsResponse + include Google::Apis::Core::Hashable + + # Groups specific count metrics. + # Corresponds to the JSON property `groupsCountResult` + # @return [Google::Apis::VaultV1::GroupsCountResult] + attr_accessor :groups_count_result + + # Mail specific count metrics. + # Corresponds to the JSON property `mailCountResult` + # @return [Google::Apis::VaultV1::MailCountResult] + attr_accessor :mail_count_result + + # Total count of artifacts. For mail and groups, artifacts refers to messages. + # Corresponds to the JSON property `totalCount` + # @return [Fixnum] + attr_accessor :total_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @groups_count_result = args[:groups_count_result] if args.key?(:groups_count_result) + @mail_count_result = args[:mail_count_result] if args.key?(:mail_count_result) + @total_count = args[:total_count] if args.key?(:total_count) + end + end + # The options for Drive export. class DriveExportOptions include Google::Apis::Core::Hashable @@ -504,6 +660,51 @@ module Google end end + # Groups specific count metrics. + class GroupsCountResult + include Google::Apis::Core::Hashable + + # Error occurred when querying these accounts. + # Corresponds to the JSON property `accountCountErrors` + # @return [Array] + attr_accessor :account_count_errors + + # Subtotal count per matching account that have more than zero messages. + # Corresponds to the JSON property `accountCounts` + # @return [Array] + attr_accessor :account_counts + + # Total number of accounts that can be queried and have more than zero messages. + # Corresponds to the JSON property `matchingAccountsCount` + # @return [Fixnum] + attr_accessor :matching_accounts_count + + # When data scope is HELD_DATA in the request Query, these accounts in the + # request are not queried because they are not on hold. For other data scope, + # this field is not set. + # Corresponds to the JSON property `nonQueryableAccounts` + # @return [Array] + attr_accessor :non_queryable_accounts + + # Total number of accounts involved in this count operation. + # Corresponds to the JSON property `queriedAccountsCount` + # @return [Fixnum] + attr_accessor :queried_accounts_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_count_errors = args[:account_count_errors] if args.key?(:account_count_errors) + @account_counts = args[:account_counts] if args.key?(:account_counts) + @matching_accounts_count = args[:matching_accounts_count] if args.key?(:matching_accounts_count) + @non_queryable_accounts = args[:non_queryable_accounts] if args.key?(:non_queryable_accounts) + @queried_accounts_count = args[:queried_accounts_count] if args.key?(:queried_accounts_count) + end + end + # The options for groups export. class GroupsExportOptions include Google::Apis::Core::Hashable @@ -919,6 +1120,31 @@ module Google end end + # The response message for Operations.ListOperations. + class ListOperationsResponse + include Google::Apis::Core::Hashable + + # The standard List next-page token. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + # A list of operations that matches the specified filter in the request. + # Corresponds to the JSON property `operations` + # @return [Array] + attr_accessor :operations + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + @operations = args[:operations] if args.key?(:operations) + end + end + # Definition of the response for method ListSaveQuery. class ListSavedQueriesResponse include Google::Apis::Core::Hashable @@ -945,6 +1171,51 @@ module Google end end + # Mail specific count metrics. + class MailCountResult + include Google::Apis::Core::Hashable + + # Error occurred when querying these accounts. + # Corresponds to the JSON property `accountCountErrors` + # @return [Array] + attr_accessor :account_count_errors + + # Subtotal count per matching account that have more than zero messages. + # Corresponds to the JSON property `accountCounts` + # @return [Array] + attr_accessor :account_counts + + # Total number of accounts that can be queried and have more than zero messages. + # Corresponds to the JSON property `matchingAccountsCount` + # @return [Fixnum] + attr_accessor :matching_accounts_count + + # When data scope is HELD_DATA in the request Query, these accounts in the + # request are not queried because they are not on hold. For other data scope, + # this field is not set. + # Corresponds to the JSON property `nonQueryableAccounts` + # @return [Array] + attr_accessor :non_queryable_accounts + + # Total number of accounts involved in this count operation. + # Corresponds to the JSON property `queriedAccountsCount` + # @return [Fixnum] + attr_accessor :queried_accounts_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @account_count_errors = args[:account_count_errors] if args.key?(:account_count_errors) + @account_counts = args[:account_counts] if args.key?(:account_counts) + @matching_accounts_count = args[:matching_accounts_count] if args.key?(:matching_accounts_count) + @non_queryable_accounts = args[:non_queryable_accounts] if args.key?(:non_queryable_accounts) + @queried_accounts_count = args[:queried_accounts_count] if args.key?(:queried_accounts_count) + end + end + # The options for mail export. class MailExportOptions include Google::Apis::Core::Hashable @@ -1063,6 +1334,68 @@ module Google end end + # This resource represents a long-running operation that is the result of a + # network API call. + class Operation + include Google::Apis::Core::Hashable + + # If the value is `false`, it means the operation is still in progress. If `true` + # , the operation is completed, and either `error` or `response` is available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # 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 `error` + # @return [Google::Apis::VaultV1::Status] + attr_accessor :error + + # Service-specific metadata associated with the operation. It typically contains + # progress information and common metadata such as create time. Some services + # might not provide such metadata. Any method that returns a long-running + # operation should document the metadata type, if any. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # The server-assigned name, which is only unique within the same service that + # originally returns it. If you use the default HTTP mapping, the `name` should + # be a resource name ending with `operations/`unique_id``. + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # The normal response of the operation in case of success. If the original + # method returns no data on success, such as `Delete`, the response is `google. + # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, + # the response should be the resource. For other methods, the response should + # have the type `XxxResponse`, where `Xxx` is the original method name. For + # example, if the original method name is `TakeSnapshot()`, the inferred + # response type is `TakeSnapshotResponse`. + # Corresponds to the JSON property `response` + # @return [Hash] + attr_accessor :response + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @error = args[:error] if args.key?(:error) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @response = args[:response] if args.key?(:response) + end + end + # Org Unit to search class OrgUnitInfo include Google::Apis::Core::Hashable diff --git a/generated/google/apis/vault_v1/representations.rb b/generated/google/apis/vault_v1/representations.rb index 0cfc4179c..0e5c17bff 100644 --- a/generated/google/apis/vault_v1/representations.rb +++ b/generated/google/apis/vault_v1/representations.rb @@ -22,6 +22,18 @@ module Google module Apis module VaultV1 + class AccountCount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AccountCountError + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AccountInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -52,6 +64,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CancelOperationRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CloseMatterRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -82,6 +100,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class CountArtifactsMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CountArtifactsRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class CountArtifactsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class DriveExportOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -118,6 +154,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class GroupsCountResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GroupsExportOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -208,12 +250,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class ListOperationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class ListSavedQueriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class MailCountResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MailExportOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -238,6 +292,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Operation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class OrgUnitInfo class Representation < Google::Apis::Core::JsonRepresentation; end @@ -316,6 +376,24 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class AccountCount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation + + property :count, :numeric_string => true, as: 'count' + end + end + + class AccountCountError + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account, as: 'account', class: Google::Apis::VaultV1::UserInfo, decorator: Google::Apis::VaultV1::UserInfo::Representation + + property :error_type, as: 'errorType' + end + end + class AccountInfo # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -359,6 +437,12 @@ module Google end end + class CancelOperationRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class CloseMatterRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -405,6 +489,37 @@ module Google end end + class CountArtifactsMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :matter_id, as: 'matterId' + property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation + + property :start_time, as: 'startTime' + end + end + + class CountArtifactsRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :query, as: 'query', class: Google::Apis::VaultV1::Query, decorator: Google::Apis::VaultV1::Query::Representation + + property :view, as: 'view' + end + end + + class CountArtifactsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :groups_count_result, as: 'groupsCountResult', class: Google::Apis::VaultV1::GroupsCountResult, decorator: Google::Apis::VaultV1::GroupsCountResult::Representation + + property :mail_count_result, as: 'mailCountResult', class: Google::Apis::VaultV1::MailCountResult, decorator: Google::Apis::VaultV1::MailCountResult::Representation + + property :total_count, :numeric_string => true, as: 'totalCount' + end + end + class DriveExportOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -472,6 +587,19 @@ module Google end end + class GroupsCountResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation + + collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation + + property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount' + collection :non_queryable_accounts, as: 'nonQueryableAccounts' + property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount' + end + end + class GroupsExportOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -603,6 +731,15 @@ module Google end end + class ListOperationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :next_page_token, as: 'nextPageToken' + collection :operations, as: 'operations', class: Google::Apis::VaultV1::Operation, decorator: Google::Apis::VaultV1::Operation::Representation + + end + end + class ListSavedQueriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -612,6 +749,19 @@ module Google end end + class MailCountResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :account_count_errors, as: 'accountCountErrors', class: Google::Apis::VaultV1::AccountCountError, decorator: Google::Apis::VaultV1::AccountCountError::Representation + + collection :account_counts, as: 'accountCounts', class: Google::Apis::VaultV1::AccountCount, decorator: Google::Apis::VaultV1::AccountCount::Representation + + property :matching_accounts_count, :numeric_string => true, as: 'matchingAccountsCount' + collection :non_queryable_accounts, as: 'nonQueryableAccounts' + property :queried_accounts_count, :numeric_string => true, as: 'queriedAccountsCount' + end + end + class MailExportOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -647,6 +797,18 @@ module Google end end + class Operation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :error, as: 'error', class: Google::Apis::VaultV1::Status, decorator: Google::Apis::VaultV1::Status::Representation + + hash :metadata, as: 'metadata' + property :name, as: 'name' + hash :response, as: 'response' + end + end + class OrgUnitInfo # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google/apis/vault_v1/service.rb b/generated/google/apis/vault_v1/service.rb index f4fa97305..c7062deb7 100644 --- a/generated/google/apis/vault_v1/service.rb +++ b/generated/google/apis/vault_v1/service.rb @@ -113,6 +113,40 @@ module Google execute_or_queue_command(command, &block) end + # Counts the artifacts within the context of a matter and returns a detailed + # breakdown of metrics. + # @param [String] matter_id + # The matter ID. + # @param [Google::Apis::VaultV1::CountArtifactsRequest] count_artifacts_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::VaultV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::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 count_matter_artifacts(matter_id, count_artifacts_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/matters/{matterId}:count', options) + command.request_representation = Google::Apis::VaultV1::CountArtifactsRequest::Representation + command.request_object = count_artifacts_request_object + command.response_representation = Google::Apis::VaultV1::Operation::Representation + command.response_class = Google::Apis::VaultV1::Operation + command.params['matterId'] = matter_id unless matter_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a new matter with the given name and description. The initial state is # open, and the owner is the method caller. Returns the created matter with # default view. @@ -1023,6 +1057,46 @@ module Google execute_or_queue_command(command, &block) end + # Starts asynchronous cancellation on a long-running operation. The server makes + # a best effort to cancel the operation, but success is not guaranteed. If the + # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. + # Clients can use Operations.GetOperation or other methods to check whether the + # cancellation succeeded or whether the operation completed despite cancellation. + # On successful cancellation, the operation is not deleted; instead, it becomes + # an operation with an Operation.error value with a google.rpc.Status.code of 1, + # corresponding to `Code.CANCELLED`. + # @param [String] name + # The name of the operation resource to be cancelled. + # @param [Google::Apis::VaultV1::CancelOperationRequest] cancel_operation_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::VaultV1::Empty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::Empty] + # + # @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 cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1/{+name}:cancel', options) + command.request_representation = Google::Apis::VaultV1::CancelOperationRequest::Representation + command.request_object = cancel_operation_request_object + command.response_representation = Google::Apis::VaultV1::Empty::Representation + command.response_class = Google::Apis::VaultV1::Empty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Deletes a long-running operation. This method indicates that the client is no # longer interested in the operation result. It does not cancel the operation. # If the server doesn't support this method, it returns `google.rpc.Code. @@ -1055,6 +1129,83 @@ module Google command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + + # Gets the latest state of a long-running operation. Clients can use this method + # to poll the operation result at intervals as recommended by the API service. + # @param [String] name + # The name of the operation resource. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::VaultV1::Operation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::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 get_operation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::VaultV1::Operation::Representation + command.response_class = Google::Apis::VaultV1::Operation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists operations that match the specified filter in the request. If the server + # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` + # binding allows API services to override the binding to use different resource + # name schemes, such as `users/*/operations`. To override the binding, API + # services can add a binding such as `"/v1/`name=users/*`/operations"` to their + # service configuration. For backwards compatibility, the default name includes + # the operations collection id, however overriding users must ensure the name + # binding is the parent resource, without the operations collection id. + # @param [String] name + # The name of the operation's parent resource. + # @param [String] filter + # The standard list filter. + # @param [Fixnum] page_size + # The standard list page size. + # @param [String] page_token + # The standard list page token. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::VaultV1::ListOperationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::VaultV1::ListOperationsResponse] + # + # @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 list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1/{+name}', options) + command.response_representation = Google::Apis::VaultV1::ListOperationsResponse::Representation + command.response_class = Google::Apis::VaultV1::ListOperationsResponse + command.params['name'] = name unless name.nil? + command.query['filter'] = filter unless filter.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end protected