lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.62.0 vs lib/google/apis/dataplex_v1/classes.rb in google-apis-dataplex_v1-0.63.0
- old
+ new
@@ -20,437 +20,10 @@
module Google
module Apis
module DataplexV1
- # Provides the mapping of a cloud asset to a direct physical location or to a
- # proxy that defines the location on its behalf.
- class CloudReliabilityZicyWs3DataplaneProtosAssetLocation
- include Google::Apis::Core::Hashable
-
- # Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants
- # that use CCFE RMS for storing resource metadata.
- # Corresponds to the JSON property `ccfeRmsPath`
- # @return [String]
- attr_accessor :ccfe_rms_path
-
- # Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state
- # of the region at the time of asset creation.
- # Corresponds to the JSON property `expected`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations]
- attr_accessor :expected
-
- # Defines extra parameters required for specific asset types.
- # Corresponds to the JSON property `extraParameters`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosExtraParameter>]
- attr_accessor :extra_parameters
-
- # Contains all kinds of physical location definitions for this asset.
- # Corresponds to the JSON property `locationData`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationData>]
- attr_accessor :location_data
-
- # Defines parents assets if any in order to allow later generation of
- # child_asset_location data via child assets.
- # Corresponds to the JSON property `parentAsset`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset>]
- attr_accessor :parent_asset
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @ccfe_rms_path = args[:ccfe_rms_path] if args.key?(:ccfe_rms_path)
- @expected = args[:expected] if args.key?(:expected)
- @extra_parameters = args[:extra_parameters] if args.key?(:extra_parameters)
- @location_data = args[:location_data] if args.key?(:location_data)
- @parent_asset = args[:parent_asset] if args.key?(:parent_asset)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations
- include Google::Apis::Core::Hashable
-
- # Explicit overrides for ZI and ZS requirements to be used for resources that
- # should be excluded from ZI/ZS verification logic.
- # Corresponds to the JSON property `requirementOverride`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride]
- attr_accessor :requirement_override
-
- #
- # Corresponds to the JSON property `ziOrgPolicy`
- # @return [String]
- attr_accessor :zi_org_policy
-
- #
- # Corresponds to the JSON property `ziRegionPolicy`
- # @return [String]
- attr_accessor :zi_region_policy
-
- #
- # Corresponds to the JSON property `ziRegionState`
- # @return [String]
- attr_accessor :zi_region_state
-
- # Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead
- # for setting ZI expectations as per go/zicy-publish-physical-location.
- # Corresponds to the JSON property `zoneIsolation`
- # @return [String]
- attr_accessor :zone_isolation
-
- # Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs
- # expectations as per go/zicy-publish-physical-location.
- # Corresponds to the JSON property `zoneSeparation`
- # @return [String]
- attr_accessor :zone_separation
-
- #
- # Corresponds to the JSON property `zsOrgPolicy`
- # @return [String]
- attr_accessor :zs_org_policy
-
- #
- # Corresponds to the JSON property `zsRegionState`
- # @return [String]
- attr_accessor :zs_region_state
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @requirement_override = args[:requirement_override] if args.key?(:requirement_override)
- @zi_org_policy = args[:zi_org_policy] if args.key?(:zi_org_policy)
- @zi_region_policy = args[:zi_region_policy] if args.key?(:zi_region_policy)
- @zi_region_state = args[:zi_region_state] if args.key?(:zi_region_state)
- @zone_isolation = args[:zone_isolation] if args.key?(:zone_isolation)
- @zone_separation = args[:zone_separation] if args.key?(:zone_separation)
- @zs_org_policy = args[:zs_org_policy] if args.key?(:zs_org_policy)
- @zs_region_state = args[:zs_region_state] if args.key?(:zs_region_state)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `ziOverride`
- # @return [String]
- attr_accessor :zi_override
-
- #
- # Corresponds to the JSON property `zsOverride`
- # @return [String]
- attr_accessor :zs_override
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @zi_override = args[:zi_override] if args.key?(:zi_override)
- @zs_override = args[:zs_override] if args.key?(:zs_override)
- end
- end
-
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
- # guide#data-metadata-placement-and-failure-domains
- class CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `policyId`
- # @return [Array<String>]
- attr_accessor :policy_id
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @policy_id = args[:policy_id] if args.key?(:policy_id)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosCloudAsset
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `assetName`
- # @return [String]
- attr_accessor :asset_name
-
- #
- # Corresponds to the JSON property `assetType`
- # @return [String]
- attr_accessor :asset_type
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @asset_name = args[:asset_name] if args.key?(:asset_name)
- @asset_type = args[:asset_type] if args.key?(:asset_type)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `childAsset`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAsset>]
- attr_accessor :child_asset
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @child_asset = args[:child_asset] if args.key?(:child_asset)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `location`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosLocationAssignment>]
- attr_accessor :location
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @location = args[:location] if args.key?(:location)
- end
- end
-
- # Defines parameters that should only be used for specific asset types.
- class CloudReliabilityZicyWs3DataplaneProtosExtraParameter
- include Google::Apis::Core::Hashable
-
- # To be used for specifying the intended distribution of regional compute.
- # googleapis.com/InstanceGroupManager instances
- # Corresponds to the JSON property `regionalMigDistributionPolicy`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy]
- attr_accessor :regional_mig_distribution_policy
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @regional_mig_distribution_policy = args[:regional_mig_distribution_policy] if args.key?(:regional_mig_distribution_policy)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosLocationAssignment
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `location`
- # @return [String]
- attr_accessor :location
-
- #
- # Corresponds to the JSON property `locationType`
- # @return [String]
- attr_accessor :location_type
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @location = args[:location] if args.key?(:location)
- @location_type = args[:location_type] if args.key?(:location_type)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosLocationData
- include Google::Apis::Core::Hashable
-
- # Policy ID that identified data placement in Blobstore as per go/blobstore-user-
- # guide#data-metadata-placement-and-failure-domains
- # Corresponds to the JSON property `blobstoreLocation`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation]
- attr_accessor :blobstore_location
-
- #
- # Corresponds to the JSON property `childAssetLocation`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition]
- attr_accessor :child_asset_location
-
- #
- # Corresponds to the JSON property `directLocation`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment]
- attr_accessor :direct_location
-
- #
- # Corresponds to the JSON property `gcpProjectProxy`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy]
- attr_accessor :gcp_project_proxy
-
- # Message describing that the location of the customer resource is tied to
- # placer allocations
- # Corresponds to the JSON property `placerLocation`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosPlacerLocation]
- attr_accessor :placer_location
-
- #
- # Corresponds to the JSON property `spannerLocation`
- # @return [Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosSpannerLocation]
- attr_accessor :spanner_location
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @blobstore_location = args[:blobstore_location] if args.key?(:blobstore_location)
- @child_asset_location = args[:child_asset_location] if args.key?(:child_asset_location)
- @direct_location = args[:direct_location] if args.key?(:direct_location)
- @gcp_project_proxy = args[:gcp_project_proxy] if args.key?(:gcp_project_proxy)
- @placer_location = args[:placer_location] if args.key?(:placer_location)
- @spanner_location = args[:spanner_location] if args.key?(:spanner_location)
- end
- end
-
- # Message describing that the location of the customer resource is tied to
- # placer allocations
- class CloudReliabilityZicyWs3DataplaneProtosPlacerLocation
- include Google::Apis::Core::Hashable
-
- # Directory with a config related to it in placer (e.g. "/placer/prod/home/my-
- # root/my-dir")
- # Corresponds to the JSON property `placerConfig`
- # @return [String]
- attr_accessor :placer_config
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @placer_config = args[:placer_config] if args.key?(:placer_config)
- end
- end
-
- # To be used for specifying the intended distribution of regional compute.
- # googleapis.com/InstanceGroupManager instances
- class CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy
- include Google::Apis::Core::Hashable
-
- # The shape in which the group converges around distribution of resources.
- # Instance of proto2 enum
- # Corresponds to the JSON property `targetShape`
- # @return [Fixnum]
- attr_accessor :target_shape
-
- # Cloud zones used by regional MIG to create instances.
- # Corresponds to the JSON property `zones`
- # @return [Array<Google::Apis::DataplexV1::CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration>]
- attr_accessor :zones
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @target_shape = args[:target_shape] if args.key?(:target_shape)
- @zones = args[:zones] if args.key?(:zones)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosSpannerLocation
- include Google::Apis::Core::Hashable
-
- # Set of backups used by the resource with name in the same format as what is
- # available at http://table/spanner_automon.backup_metadata
- # Corresponds to the JSON property `backupName`
- # @return [Array<String>]
- attr_accessor :backup_name
-
- # Set of databases used by the resource in format /span//
- # Corresponds to the JSON property `dbName`
- # @return [Array<String>]
- attr_accessor :db_name
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @backup_name = args[:backup_name] if args.key?(:backup_name)
- @db_name = args[:db_name] if args.key?(:db_name)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `projectNumbers`
- # @return [Array<String>]
- attr_accessor :project_numbers
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @project_numbers = args[:project_numbers] if args.key?(:project_numbers)
- end
- end
-
- #
- class CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration
- include Google::Apis::Core::Hashable
-
- #
- # Corresponds to the JSON property `zone`
- # @return [String]
- attr_accessor :zone
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @zone = args[:zone] if args.key?(:zone)
- end
- end
-
# A generic empty message that you can re-use to avoid defining duplicated empty
# messages in your APIs. A typical example is to use it as the request or the
# response type of an API method. For instance: service Foo ` rpc Bar(google.
# protobuf.Empty) returns (google.protobuf.Empty); `
class Empty
@@ -880,10 +453,16 @@
# projects/`project_number`/locations/`location_id`/aspectTypes/`aspect_type_id`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # Output only. Denotes the transfer status of the Aspect Type. It is unspecified
+ # for Aspect Types created from Dataplex API.
+ # Corresponds to the JSON property `transferStatus`
+ # @return [String]
+ attr_accessor :transfer_status
+
# Output only. System generated globally unique ID for the AspectType. If you
# delete and recreate the AspectType with the same name, then this ID will be
# different.
# Corresponds to the JSON property `uid`
# @return [String]
@@ -906,10 +485,11 @@
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag)
@labels = args[:labels] if args.key?(:labels)
@metadata_template = args[:metadata_template] if args.key?(:metadata_template)
@name = args[:name] if args.key?(:name)
+ @transfer_status = args[:transfer_status] if args.key?(:transfer_status)
@uid = args[:uid] if args.key?(:uid)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
@@ -4064,10 +3644,15 @@
# The data location associated with the event.
# Corresponds to the JSON property `dataLocation`
# @return [String]
attr_accessor :data_location
+ # The id of the associated datascan for standalone discovery.
+ # Corresponds to the JSON property `datascanId`
+ # @return [String]
+ attr_accessor :datascan_id
+
# Details about the entity.
# Corresponds to the JSON property `entity`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventEntityDetails]
attr_accessor :entity
@@ -4084,10 +3669,15 @@
# Details about the partition.
# Corresponds to the JSON property `partition`
# @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventPartitionDetails]
attr_accessor :partition
+ # Details about the published table.
+ # Corresponds to the JSON property `table`
+ # @return [Google::Apis::DataplexV1::GoogleCloudDataplexV1DiscoveryEventTableDetails]
+ attr_accessor :table
+
# The type of the event being logged.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type
@@ -4104,14 +3694,16 @@
def update!(**args)
@action = args[:action] if args.key?(:action)
@asset_id = args[:asset_id] if args.key?(:asset_id)
@config = args[:config] if args.key?(:config)
@data_location = args[:data_location] if args.key?(:data_location)
+ @datascan_id = args[:datascan_id] if args.key?(:datascan_id)
@entity = args[:entity] if args.key?(:entity)
@lake_id = args[:lake_id] if args.key?(:lake_id)
@message = args[:message] if args.key?(:message)
@partition = args[:partition] if args.key?(:partition)
+ @table = args[:table] if args.key?(:table)
@type = args[:type] if args.key?(:type)
@zone_id = args[:zone_id] if args.key?(:zone_id)
end
end
@@ -4218,10 +3810,35 @@
@sampled_data_locations = args[:sampled_data_locations] if args.key?(:sampled_data_locations)
@type = args[:type] if args.key?(:type)
end
end
+ # Details about the published table.
+ class GoogleCloudDataplexV1DiscoveryEventTableDetails
+ include Google::Apis::Core::Hashable
+
+ # The fully-qualified resource name of the table resource.
+ # Corresponds to the JSON property `table`
+ # @return [String]
+ attr_accessor :table
+
+ # The type of the table resource.
+ # Corresponds to the JSON property `type`
+ # @return [String]
+ attr_accessor :type
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @table = args[:table] if args.key?(:table)
+ @type = args[:type] if args.key?(:type)
+ end
+ end
+
# Represents tables and fileset metadata contained within a zone.
class GoogleCloudDataplexV1Entity
include Google::Apis::Core::Hashable
# Describes the access mechanism of the data within its storage location.
@@ -4518,10 +4135,16 @@
# entry_group_id`.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # Output only. Denotes the transfer status of the Entry Group. It is unspecified
+ # for Entry Group created from Dataplex API.
+ # Corresponds to the JSON property `transferStatus`
+ # @return [String]
+ attr_accessor :transfer_status
+
# Output only. System generated globally unique ID for the EntryGroup. If you
# delete and recreate the EntryGroup with the same name, this ID will be
# different.
# Corresponds to the JSON property `uid`
# @return [String]
@@ -4542,10 +4165,11 @@
@description = args[:description] if args.key?(:description)
@display_name = args[:display_name] if args.key?(:display_name)
@etag = args[:etag] if args.key?(:etag)
@labels = args[:labels] if args.key?(:labels)
@name = args[:name] if args.key?(:name)
+ @transfer_status = args[:transfer_status] if args.key?(:transfer_status)
@uid = args[:uid] if args.key?(:uid)
@update_time = args[:update_time] if args.key?(:update_time)
end
end
@@ -7608,12 +7232,12 @@
# variables (set key="value";).
# Corresponds to the JSON property `sqlScript`
# @return [String]
attr_accessor :sql_script
- # A reference to a query file. This can be the Cloud Storage URI of the query
- # file or it can the path to a SqlScript Content. The execution args are used to
- # declare a set of script variables (set key="value";).
+ # A reference to a query file. This should be the Cloud Storage URI of the query
+ # file. The execution args are used to declare a set of script variables (set
+ # key="value";).
# Corresponds to the JSON property `sqlScriptFile`
# @return [String]
attr_accessor :sql_script_file
def initialize(**args)